Re: Accessing HTTP Content

From: Date: Mon, 29 Mar 2004 10:11:20 +0000
Subject: Re: Accessing HTTP Content
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-181648@lists.php.net to get a copy of this message
Quentin Bennett wrote:
Hi, Is this possible, please? What I want to do is, using an HTTP class, $myComms = new Ihttp_base_class(&$httpParams); $myComms->request = $some_document; $myComms->requrl = "/mysite/myscript.php"; $myComms->Send(); "myscript.php" runs within the same Apache server, processes some_document, and returns an HTTP response. PHP is running as an Apache module, not CGI. Within myscript.php, I can 'getallheaders()' to access the HTTP headers, but I want to access the contents of $some_document - i.e. the content portion of the HTTP message. $some_document can't be sent as a GET/POST variable, as it exceeds the limitations on those.
Have you considered using something like Snoopy? http://snoopy.sf.net Could be worth a try.

« previous php.general (#181648) next »