I am trying to figure it out based on the website,
http://ca3.php.net/manual/en/function.http-get.php
The problem is I don't understand how the options should be passed as an array with not being able to find an example
Code: Select all
http_get ( [string url [, array options [, array &info]]] )Code: Select all
$options['http_auth'] = "$user:$pass";
http_get("192.1.1.100",$options);[This is similar problem to the Apache one I posted in that forum viewtopic.php?t=56987, but can't use those options due to restrictions that have been imposed]