Jump to content

From txt to array


madmike3

Recommended Posts

show an example of users.txt, and how you want the array to look like after it's converted

actually iam gonna use it for ips :3 just i was thinking of another script and wrote users. sorry
like this 
000.000.000.00:000
000.000.000.00:000
000.000.000.00:000
ofcourse diffrent ips and diffrent ports i would like the array to look like this
$proxies = array(  
    '000.000.000.00:000',   
    '000.000.000.00:000',  
    '000.000.000.00:000',  
    '000.000.000.00:000',  
 
); 
 
for the reason that iam gonna use (call) $proxies with
curl_setopt($ch, CURLOPT_PROXY,$proxies[array_rand($proxies)]);
Link to comment
https://forums.phpfreaks.com/topic/290572-from-txt-to-array/#findComment-1488537
Share on other sites

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.