Jump to content

question about http_get


Recommended Posts

Hi,something confusing me regard the http_get, lets say I want to do the following request:http://example.com?user=bob&password=passwordshould it look like?:Code:$result=http_get("http://www.example.com/", array("user"=>"bob","password"=>"password"), $info);or like:Code:$result=http_get("http://example.com?user=bob&password=password", , $info);I have read the manual:http://php.net/manual/en/function.http-get.php but I am still not sure what the options mean.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...