HTTP transactions with PHP?
| From: | Joel Konkle-Parker | Date: | Thu, 21 Aug 2003 20:21:21 +0000 |
| Subject: | HTTP transactions with PHP? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-160342@lists.php.net to get a copy of this message | ||
Is it possible to make a complete HTTP transaction from within PHP? Like:
- PHP sends request headers (with POST data) to $url
- $url sends response back to calling script
- PHP works with the response
I've seen file_get_contents($url), but that can't send POST-data, unless I'm
mistaken (can it?).
--
Joel Konkle-Parker
Webmaster [Ballsome.com]
Phone [662-518-1636]
E-mail [jjk3@msstate.edu]