mikey3521 Posted October 30, 2007 Share Posted October 30, 2007 Hey, I'm working on a test script here, this is what i've gotten thus far: $proxies = array("proxy1.net", "proxy2.com", "proxy3.org"); $h = fopen($proxies[rand(0, count($proxies)], 80); fwrite($h, "OPEN recordedhits.php"); fclose($h); Pretty much want I want to-do here, is make a txt document full of proxy servers & or ip's then when this script is called it should go threw them one at a time and hit my recordedhits.php script which should record it all. I've got the recordedhits.php one finished now I just need a little help on this one. I'm not quite sure how to pull the proxy's from an array, and well im not even sure if this will work and im pretty sure this just randomlly picks a proxy and dosn't actually go threw them all 1 at a time.... Any help would be greatly apperciated. thanks. Quote Link to comment https://forums.phpfreaks.com/topic/75297-solved-proxy-from-txt-file/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.