madmike3 Posted August 21, 2014 Share Posted August 21, 2014 Hello, what would be right to get values from users.txt and convert them to an array so later it can be called ? Quote Link to comment https://forums.phpfreaks.com/topic/290572-from-txt-to-array/ Share on other sites More sharing options...
CroNiX Posted August 21, 2014 Share Posted August 21, 2014 show an example of users.txt, and how you want the array to look like after it's converted Quote Link to comment https://forums.phpfreaks.com/topic/290572-from-txt-to-array/#findComment-1488534 Share on other sites More sharing options...
madmike3 Posted August 21, 2014 Author Share Posted August 21, 2014 (edited) 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)]); Edited August 21, 2014 by madmike3 Quote Link to comment https://forums.phpfreaks.com/topic/290572-from-txt-to-array/#findComment-1488537 Share on other sites More sharing options...
madmike3 Posted August 21, 2014 Author Share Posted August 21, 2014 so will u provide help Quote Link to comment https://forums.phpfreaks.com/topic/290572-from-txt-to-array/#findComment-1488543 Share on other sites More sharing options...
CroNiX Posted August 21, 2014 Share Posted August 21, 2014 Sorry, this is part of your other thread where it looks like you are creating a hacking script. http://forums.phpfreaks.com/topic/290552-fetching-from-textarea-into-array-php/ Quote Link to comment https://forums.phpfreaks.com/topic/290572-from-txt-to-array/#findComment-1488544 Share on other sites More sharing options...
madmike3 Posted August 21, 2014 Author Share Posted August 21, 2014 ok can u show me how to do for my other script where i have users Quote Link to comment https://forums.phpfreaks.com/topic/290572-from-txt-to-array/#findComment-1488547 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.