|
|
|
||||
|
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 |
|
Confirmed User
Industry Role:
Join Date: Dec 2002
Posts: 495
|
Programmers I pay $10 epassporte for a very simple script!
Here is an example of what I want:
http://www.ronisparadise.net/fhg/gal...hp?user=XXXXXX I need made a php file which will change the affiliate code inside a gallery accoring the change made in the URL. e.g If I replace the XXXXXX in the URL with 234122 then all links in the gallery will have the XXXXXX replaced with 234122 http://www.ronisparadise.net/fhg/gal...hp?user=234122 ICQ: 171739496 |
|
|
|
|
|
#2 |
|
Confirmed User
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,231
|
hitting you up on icq
__________________
Mechanical Bunny Media Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development |
|
|
|
|
|
#3 |
|
Damn Right I Kiss Ass!
Industry Role:
Join Date: Dec 2003
Location: Cowtown, USA
Posts: 32,428
|
Make sure it sanitizes that input too.
|
|
|
|
|
|
#4 |
|
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
Code:
<?php
$id = $_GET['id'];
$stuff = file_get_contents("template.txt");
$html = str_replace("123456",$id,$stuff);
echo $html;
?>
save all your html in a file called template.txt with refcode as 123456 then just call the index.php like index.php?id=5551212
__________________
hatisblack at yahoo.com |
|
|
|
|
|
#5 |
|
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
yes i suppose you might wanna santatize it a bit
__________________
hatisblack at yahoo.com |
|
|
|
|
|
#6 | |
|
Confirmed User
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,231
|
Quote:
__________________
Mechanical Bunny Media Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development |
|
|
|
|
|
|
#7 |
|
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
true but if he has alot of places to change it would be shorter is all i was thinking
__________________
hatisblack at yahoo.com |
|
|
|
|
|
#8 |
|
Confirmed User
Industry Role:
Join Date: Dec 2002
Posts: 495
|
|
|
|
|
|
|
#9 |
|
Confirmed User
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,231
|
ahh yes didn't think of that.
__________________
Mechanical Bunny Media Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development |
|
|
|
|
|
#10 | |
|
►SouthOfHeaven
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
|
Quote:
p.s. if you want to have se friendly urls you could use his code with the following ( assuming there are no asp pages in the directory ) save this as .htaccess and upload to the same directory Code:
RewriteEngine on RewriteRule ^(.*)\.asp index.php?user=$1 [nc] http://yoursite.com/stuff/refcode.asp and it will turn into http://yoursite.com/stuff/index.php?user=refcode
__________________
hatisblack at yahoo.com |
|
|
|
|
|
|
#11 |
|
Too lazy to set a custom title
Join Date: Mar 2002
Location: Australia
Posts: 17,393
|
|
|
|
|
|
|
#12 |
|
Too lazy to set a custom title
Join Date: Dec 2006
Posts: 23,400
|
Good thread
__________________
i like waffles |
|
|
|