My question is how it works
if ($ref) {
$advertiser = $HTTP_GET_VARS["ref"];
if ($advertiser){
tep_session_register('advertiser');
}
}
This code is for oscommerce if that matters at all.
How does the $ref not be empty the first time this code runs?
Does PHP somehow know it is part of the URL ?ref=referallnamehere
Thanks for any advice at all as to how the if ($ref) doesn't fail when this code runs.