michael-lane
07-15-2005, 03:09 PM
this is my script for a referreral script:
<?php
/*get referrer id*/
$r_id = $_GET[r_id];
if($r_id==FALSE) {
echo "<input type=\"text\" name="\referrer\" value=\"$r_id\">";
}
else {
echo "<input type=\"text\" name="\referrer\" value=\"referrer id here\">
}
problem is i dont want users to just refer i want them to refer people who browse and sign-up which is why i want to know some stuff. Right once a form has submitted a form data to a url, is that data still available after they click a link from the from that page? or is that IMPOSSIBLE and would i have to do something like I.P. tracking that saves the referrer id into a database for that I.P. then deletes it if it that I.P. is unactive on the site after 5-10 mins?
<?php
/*get referrer id*/
$r_id = $_GET[r_id];
if($r_id==FALSE) {
echo "<input type=\"text\" name="\referrer\" value=\"$r_id\">";
}
else {
echo "<input type=\"text\" name="\referrer\" value=\"referrer id here\">
}
problem is i dont want users to just refer i want them to refer people who browse and sign-up which is why i want to know some stuff. Right once a form has submitted a form data to a url, is that data still available after they click a link from the from that page? or is that IMPOSSIBLE and would i have to do something like I.P. tracking that saves the referrer id into a database for that I.P. then deletes it if it that I.P. is unactive on the site after 5-10 mins?
