php - Get parameters value from another url -
in .cgi
file set $http_proxy= '192.168.1.1:80'
how can 192.168.1.1:80
text file on host or url (for example line 4 data.txt in http://url.com/data.txt ).
if want read contents of file can use
$raw = file_get_contents('http://urlcom/data.txt'); $file = explode("\n", $raw); echo $file[3]; // read line 3
the file must accessible (by host/system/etc).
Comments
Post a Comment