Pass Through of Variable

5 replies
I have a sign up form (php) and am using JROX.

I have looked through the JROX manual.

I want affiliates to sell my stuff. The users need to fill out an interest form that gets emailed to me. I call them to see if they qualify.

How do I make sure the affiliates gets credited?

Passing the variable is the only way I can think of how to do that.

domain/affiliates/jrox.php?id=1_1

If that is the only way, how do I get that variable (id=1_1) passed into the php form I created?

Did anyone make JROX do it another way?

Thanks for your help in advance.
#jrox #pass #php #variable
  • Profile picture of the author m4rx
    Have you tried JAM.
    Start, Promote and Manage Your Own Successful Affiliate Marketing Program
    JROX.COM Affiliate Manager I think will fit your needs quite nicely :]

    --m4rx
    Signature
    We are what we repeatedly do. Excellence, then, is not an act, but a HABIT. ~Aristotle
    Bored. Learn everything you need to know about Organic Gardening.
    {{ DiscussionBoard.errors[1642401].message }}
  • Profile picture of the author RandyRandola
    Yeah - that's what I'm using. From reading the forums, it sounds like JEM might be the way to go though. They have forms that supposedly do this.

    JAM says I can place an image tag on my thank you page, (which I did) but I believe my contact.php file breaks the passing of the variables. But I use it for required fields, email checking, spam and other security measures.

    So that will take a few more hours to see if it works. Hi ho
    {{ DiscussionBoard.errors[1643243].message }}
  • Profile picture of the author m4rx
    Well your contact.php shouldn't be removing any variables, unless its specifically set to unset the variables. If the variable exist's in the page's scope, then you can still call it. If it's $_GET['affiliate'], then it will still exist. It might be set as a cookie for JAM, so it would be something like $_COOKIE['affiliate'].

    The variable should still exist, but I have never used JEM so I cannot be certain of this, I would defiantly ask their support.

    --m4rx
    Signature
    We are what we repeatedly do. Excellence, then, is not an act, but a HABIT. ~Aristotle
    Bored. Learn everything you need to know about Organic Gardening.
    {{ DiscussionBoard.errors[1643864].message }}
  • Profile picture of the author RandyRandola
    Thanks. I am going to ask them for help - probably paid but I can't figure this out.
    My contact.php file doesn't unset variables - it emails me the form.
    {{ DiscussionBoard.errors[1645136].message }}
  • Profile picture of the author m4rx
    Alright. If you want to debug the form before it sends out the email, place this before your mail function and it will show you all the variables you can work with.

    <?php
    die(print_r($_GET."<br/>".$_POST."<br/>".$_COOKIE));
    ?>

    Theres your variables

    --m4rx
    Signature
    We are what we repeatedly do. Excellence, then, is not an act, but a HABIT. ~Aristotle
    Bored. Learn everything you need to know about Organic Gardening.
    {{ DiscussionBoard.errors[1646341].message }}

Trending Topics