|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Bland for life
Industry Role:
Join Date: Nov 2004
Posts: 10,468
|
Yo PHP guys.......PHP noob here has a question
<----------------- Noob
How hard is it to snatch up a referring URL...find an affiliate code or ID in that referring URL....and then save that shit to a file or display it on a page? I'm just learning PHP so if someone could just point me in the right direction. Sic...you out there dude? |
|
|
|
|
|
#2 |
|
ex-TeenGodFather
Industry Role:
Join Date: Nov 2001
Location: Suomi Finland Perkele
Posts: 20,306
|
Very easy.
__________________
..and I'm off. |
|
|
|
|
|
#3 |
|
ex-TeenGodFather
Industry Role:
Join Date: Nov 2001
Location: Suomi Finland Perkele
Posts: 20,306
|
send them to like
url.com/index.php?ref=123456 the on the page: <?php echo $_GET['ref']; ?> that prints out 123456 so if you want to transfer it to the next page <a href="http://www.nexturl.com/index.php?ref=<?php echo $_GET['ref']; ?>"> rinse and repeat
__________________
..and I'm off. |
|
|
|
|
|
#4 | |
|
Bland for life
Industry Role:
Join Date: Nov 2004
Posts: 10,468
|
Quote:
|
|
|
|
|
|
|
#5 |
|
Confirmed User
Join Date: Feb 2005
Location: Budapest, Hungary
Posts: 534
|
For less typing you could use <?=$_GET['ref']?> instead of <?php echo $_GET['ref'];?>
__________________
|
|
|
|