|
|
|
|
|
|
![]() |
#1 |
Rock stars ... is there anything they don't know?
Join Date: Apr 2003
Location: Pakistan
Posts: 16
|
![]() OK! I need help! the follwoing script is used for random link:
<?php $fileName = "./name.txt"; mt_srand( (double) microtime() * 1000000 ); $a = file($fileName); $randNum = mt_rand( 0, sizeof($a)-1 ); header( "Location: ". $a[$randNum] ); ?> And it works great now i want to add gallery skimming option so that i may send some hits to blind link sponsors how can i do that?
__________________
Life is to ENJOY! so enjoy it! |
![]() |
![]() |
![]() |
#2 | |
WHO IS FONZY!?! Don't they teach you anything at school?
Join Date: Feb 2004
Posts: 42
|
Re: Gallery Skimming!
Quote:
Code:
<?php mt_srand( (double) microtime() * 1000000 ); if ((mt_rand(0,100) >= 60)){ header("Location: someothersite.com"); }else{ $fileName = "./name.txt"; $a = file($fileName); $randNum = mt_rand( 0, sizeof($a)-1 ); header( "Location: ". $a[$randNum] ); } ?> |
|
![]() |
![]() |
![]() |
#3 |
Rock stars ... is there anything they don't know?
Join Date: Apr 2003
Location: Pakistan
Posts: 16
|
![]() Hi! Entreri
THANK YOU VERY VERY VERY VERY VERY VERY VERY VERY VERY VERY VERY VERY VERY VERY VERY MUCH! This is exactly what i needed! Thanx agin mate! ![]() ![]() ![]() ![]() ![]()
__________________
Life is to ENJOY! so enjoy it! |
![]() |
![]() |
![]() |
|
|