In PHP, how does http_post_data and http_put_data use (instance )? Hello, In PHP, how to use http_post_data and http_put_data (for example, here)? thank you ...... ------ Solution -------------------- manual .. Www. php. netmanualenfunction. http-p in PHP, http_post_data and http_put_data usage (instance )?
Hello, In PHP, how to use http_post_data and http_put_data (for example, here)? thank you ......
------ Solution --------------------
Manual ..
Http://www.php.net/manual/en/function.http-post-data.php
This is generally the case. There are many parameters that can be configured.
$ Url = "http://www.renren.com/PLogin.do ";
$ Data = arry ('email '=> [email protected]', 'password' => '****');
$ Response = http_post_data ($ url, $ data );
If ($ response = false ){
Echo "failure notice! ";
}
Else echo $ response;
------ Solution --------------------
The error message "http_post_data ()" is not found ()
You have not loaded the corresponding extension Library
It seems that the http_post_data () function is a php_http extension.
I hope it will be useful to you.
Http://liero.me /? P = 729