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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-19-2002, 05:33 PM   #1
Pipecrew
Master of Gfy.com
 
Pipecrew's Avatar
 
Industry Role:
Join Date: Feb 2002
Posts: 14,887
Script Question

#!/usr/bin/perl
$where = $ENV{'QUERY_STRING'};

#This is the url to your out script
###################################
$url = "http://cz3.clickzs.com/cj2.php?username";

#What percentage of surfers should go to the intended gallery
##################################################
###########
$pig = "70";

srand;
$n = int rand(100);
if ($n < $pig)
{
print "Location: $where\n\n";
}
else
{
print "Location: $url\n\n";
}








I want to use this script to basically skim some of my clickz trades.... Only problem is I have more then 1 clickz code I'd like to use, anyone know how to change this to randomly pick different clickz out urls like?


http://cz3.clickzs.com/cj3.php?username
http://cz3.clickzs.com/cj8.php?username
http://cz3.clickzs.com/cj9.php?username


etc ?


any help would be great, thanks
Pipecrew is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-19-2002, 05:39 PM   #2
s9ann0
Confirmed User
 
Join Date: Sep 2001
Location: Boston
Posts: 4,873
#!/usr/bin/perl
$where = $ENV{'QUERY_STRING'};

#This is the url to your out script
###################################
$url = "http://cz3.clickzs.com/cj2.php?username";

# url's array use as many as u want

@out_urls = (
'http://blah.com/blah1',
'http://www.222blah.com/blah2',
'http://blah564.com/blkah.htm'
);

#What percentage of surfers should go to the intended gallery
##################################################

###########
$pig = "70";

srand;
$n = int rand(100);
if ($n < $pig)
{
print "Location: $where\n\n";
}
else
{
print "Location: $out_urls[(int rand(@out_urls))]\n\n";
}
s9ann0 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-19-2002, 05:41 PM   #3
Pipecrew
Master of Gfy.com
 
Pipecrew's Avatar
 
Industry Role:
Join Date: Feb 2002
Posts: 14,887
Thanks man! you help me tons all the time
Pipecrew is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-19-2002, 05:56 PM   #4
Steve
Confirmed User
 
Join Date: Feb 2001
Location: USA
Posts: 6,894
You know Gerco is testing out gallery link skimming? I saw it in action on one of his pornstar TGPs. This feature will be added very soon.
Steve is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.