View Single Post
Old 05-10-2006, 06:08 AM  
sentry
Registered User
 
Join Date: Jul 2005
Posts: 99
help with some php coding

Hi, I am looking for some help coding a bit of php for my site.
I am a bit of a php noobie and am struggling to write the code I need to do a simple task.
I want to set it up on my paysite so that traffic that I send to my paysite from my free sites goes to a different CC biller than traffic sent from my affilaites.

I know I could just make a clone of my existing index.php page and call it index2.php and send all the traffic from my free sites to there but I want one entry page to the site that can dynamically change the join link depending where the traffic came from so that I only need to make changes in one place when updating the site.

EG Traffic from my freesites goes to www.mydomain.com/index.php?id=free and the join links all point to CC biller 1

And traffic from my affilaites or url type ins going to www.mydomain.com or www.mydomain.com/index.php then the join links point to CC biller 2

Can anyone who is good with php help me? I know it needs if and else statements and will probably involve sessions as the site tour is multiple pages but i don't know how to put it all together
__________________
Topless Babez cash - Great teen sites to promote with exclusive content. Online since 2004
Topless Babez trades - 16 teen traffic trade sites with quality traffic
sentry is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook