RE: [PHP] HTTP transactions with PHP?

2003-08-21 Thread Thomas Hochstetter
[snip] - PHP sends request headers (with POST data) to $url - $url sends response back to calling script - PHP works with the response [/snip] Look at fsockopen, with which you can send POST headers, or just fopen. You sit this in a try/ catch sort of script and you should be able to get stuff bac

Re: [PHP] HTTP transactions with PHP?

2003-08-21 Thread Matt Matijevich
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 http://www.php.net/http http://nf.wh3rd.net/projects/http.inc/ I have not tested the functi

[PHP] HTTP transactions with PHP?

2003-08-21 Thread Joel Konkle-Parker
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?)