Thread: need some help
View Single Post
03-02-2008, 01:49 PM
#2
Toad is offline Toad
Status: Junior Member
Join date: Dec 2004
Location:
Expertise:
Software:
 
Posts: 67
iTrader: 3 / 100%
 

Toad is on a distinguished road

  Old

PHP Code:
<?
if (isset($_POST['getproxy'])):

$urlbank "urlbank.txt";
$urls file_get_contents($urlbank);
$proxies explode("\n"$urls);
$random rand(1,count($proxies))-1;
$proxy $proxies[$random];

echo 
"<a href='$proxy>$proxy</a>";

else:
?>
Hi there! Welcome to our awesome proxy network.
<br />
What are you waiting for? Click below and begin your anonymous browsing today!
<form method="post" action="whatever.php"><input type="submit" name="getproxy" value="Proxify Me!"></form> 
<?
endif;
?>
Files needed:
whatever.php
urlbank.txt (Just put a new url on each line...)

That seems to get the job done in a simple fashion, and might be of some help