![]() |
Free Hosted Gallery Script Needed
I am in need of a script that can generate the linking codes for affiliates on the fly...
rotating gallery script for affiliates etc..... I know some people have them already developed if you can msg me and havea url in hand of one in use I would be interested. 10 44 63 163 |
I posted this before on this board but here it is.
Hi... here's a simple code im just writing now.. so if you need help hit me up. create a file named rotate.cgi or something and put it in a directory where you also have all the possible rotated .html galleries. (so like yourdomain.com/galleries/rotate.cgi) put the following code in it: #!/usr/bin/perl $usrid = $ENV{'QUERY_STRING'}; print "Content-type:text/html\n\n"; @galleries = <*.html>; $galleryfile = $galleries[int(rand(@galleries))]; open(gallery,$galleryfile); @galindex = <gallery>; close(gallery); foreach $line (@galindex) { $line =~ s/%revid%/$usrid/g; print $line; } In your galleries, replace the REVID, with %revid%, so the script knows where to insert the users id. Then let people visit like this: http://www.yourdomain.com/galleries/rotate.cgi?XXXXXX Now a random gallery will be picked and the %revid% will be replaced with XXXXXX and gallery will be printed. Just wrote it, but it's that easy that it should work. Heh. |
anyone with a php version?
|
Lots of solutions you can use through this, and free.
http://www.hotscripts.com/PHP/Script...g/Random_Text/ I'd be happy to help you free to get any of those setup or customized Keev. |
ICQ Me: 83032884
|
Quote:
|
All times are GMT -7. The time now is 03:36 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123