Jump to content

help needed with multiple IP


Recommended Posts

I have a VPS with 30 IP

addresses. I wrote a PHP script that has pfsockopen with ssl and 80.

I need to make this script to do downloads each time from different

IP. As I've said before, I have 30 IPs with my server.

Here is an example:

My IP range is 68.15.21.120-150

I need to download a web site four times:

Script downloads 1st time from 68.15.21.120

2nd time from 68.15.21.121

3rd time  from 68.15.21.122

fourth tie  from 68.15.21.123

How can I do that?

Thank you.

Link to comment
https://forums.phpfreaks.com/topic/41303-help-needed-with-multiple-ip/
Share on other sites

well to loop through all the ip addresses youd have one number, containing the first 3 sections of the address.  and then incriment the 4th section, between 120 and 150. 

 

eg

 

$ip= 11.33.55.;

$ip_extension = 120;

 

while ip_extension <= 150:

                DOO STUFF HERE

 

 

 

 

i dont know how id dp the download stuf. i dont know if you can with php, force a coputer to upload information to you ( ie your downloading, theyre uploading) becauase wouldnt that leave it open for phishing, viruses etc....

 

 

 

good luck

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.