Accessing HTTP Content

From: Date: Mon, 29 Mar 2004 01:40:44 +0000
Subject: Accessing HTTP Content
Groups: php.general 
Request: Send a blank email to php-general+get-181639@lists.php.net to get a copy of this message
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. Any advice would be appreciated. Quentin Bennett The information contained in this email is privileged and confidential and intended for the addressee only. If you are not the intended recipient, you are asked to respect that confidentiality and not disclose, copy or make use of its contents. If received in error you are asked to destroy this email and contact the sender immediately. Your assistance is appreciated.

« previous php.general (#181639) next »