0

How could i get random lines as string from(proxy.txt) to proxy.php.

Random lines as string https://code.sololearn.com/wwPoniTFxl1W/?ref=app https://code.sololearn.com/w3lXhYmyip43/?ref=app

24th Mar 2020, 4:49 AM
Stark
1 Answer
0
You can use function file("proxy.txt"). It returns array of lines. Also file_get_contents() can help but it returns string, so additionaly need to split: explode("\n", $stringResult);
31st Mar 2020, 1:05 AM
Hello World
Hello World - avatar