Jump to content

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/75297-solved-proxy-from-txt-file/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.