Passing variables from site to site

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
serambin
Forum Newbie
Posts: 9
Joined: Wed Nov 13, 2002 11:27 pm
Location: Haughton, LA 71037

Passing variables from site to site

Post by serambin »

What is the preferred method of passing information (UID or Session ID) from a referring site to a receiving site for crediting the referring site on possible sales?

TIA,

Stan
fractalvibes
Forum Contributor
Posts: 335
Joined: Thu Sep 26, 2002 6:14 pm
Location: Waco, Texas

Post by fractalvibes »

Well, if you are posting a form who's action is set to a page on the other site, then any variables in that form is available to the script that recieves the post. Your other option is via querystring. Querystrings are handy, but the user can muck with them easily.

Phil J.
serambin
Forum Newbie
Posts: 9
Joined: Wed Nov 13, 2002 11:27 pm
Location: Haughton, LA 71037

Passing Variables

Post by serambin »

Thanks.

Stan
Post Reply