PDA

View Full Version : Random Url Redirect Script


unconnected
03-05-2002, 09:03 PM
I am looking for a cgi script that redirects the surfer to an url picked 'randomly' from a list..<br />The script must not refer to any external data in other files..<br />anyone have it?<br />Thanks

SexySites
03-05-2002, 09:19 PM
sounds pretty easy to program...i could probably do it for you in a matter of minutes <img border="0" title="" alt="[Wink]" src="wink.gif" /> <br /><br />hit me up on icq if you want to know more <img border="0" title="" alt="[Big Grin]" src="biggrin.gif" /> <br /><br />laters,<br />Chris

geoff
03-05-2002, 11:37 PM
<a href="http://www.hotscripts.com" target="_blank">www.hotscripts.com</a><br /><br />I have one, but its php

High Roller
03-06-2002, 02:14 AM
check this out<br />mytgp.org/drpopper.htm<br /><br />it is random<br />very easy to use<br />copy the code

druhix
03-06-2002, 02:34 AM
you don't like PHP?<br /><br /> </font><blockquote><font size="1" face="Verdana, Arial">code:</font><hr /><pre style="font-size:x-small; font-family: fixed;">&lt;?<br />if(($_list=@file(&quot;list.txt&quot;))&amp;&amp;!header_sent())<br />{<br /> for($i=0;$_list[$i];$i++){}<br /> header(&quot;Location: &quot;.$_list[rand(0,$i)]);<br /> exit;<br />}<br />else{echo'Error';exit;}<br />?&gt;</pre><hr /></blockquote><font size="2" face="Verdana, Arial">fuck around with that for a bit <img border="0" alt="[Nod]" title="" src="graemlins/nod.gif" />

Dammy
03-06-2002, 06:54 AM
<a href="http://cgi.resourceindex.com" target="_blank">http://cgi.resourceindex.com</a>

playa
03-06-2002, 09:13 AM
if you need galleries feel free to add mine<br />or you can use my script<br /><a href="http://www.cleangalleries.net" target="_blank">www.cleangalleries.net</a>