![]() |
| ||
| HTTP request Can someone please tell me how to send a HTTP request through PHP . |
| ||
| Re: HTTP request Although I don't know anything about it there is a function called http_request(); and the official documentation can be found at http://php.net/manual/kr/function.http-request.php |
| ||
| Re: HTTP request Quote:
If you need just a simple HTTP Request, you can use file_get_contents(). This makes a HTTP GET Request to the URL you give it (if the http wrapper is enabled allow_url_fopen). You can also use the curl functions: http://www.php.net/manual/en/ref.curl.php Or see the docs on getting remote files: http://www.php.net/manual/en/features.remote-files.php For custom HTTP Requests use CURL or you can use fsockopen(), with fread() and fwrite(). Pear also provides a HTTP package: http://pear.php.net/package/HTTP_Request2 |
| All times are GMT -4. The time now is 3:09 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC