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