One more question though.
I would like my URL to be as follows:
http://www.domain.com/?1002
I am trying to identify affiliates as they send people to our site. The more they have to type, the dumber they get. I have to keep the link simple. I was hoping I could use an address like the one above.
$x = array_keys($HTTP_GET_VARS);
print ($x[0]);
works only if there is a name value pair. Is there an enveironment variable that grabs the whole URL they requested, including the ID I am passing? I could then just ereg() the string to get the ID.