Bug #10726 Updated: cant catch post data from stdin in cgi-bin

From: Date: Tue, 08 May 2001 11:16:14 +0000
Subject: Bug #10726 Updated: cant catch post data from stdin in cgi-bin
Groups: php.dev 
Request: Send a blank email to php-dev+get-54372@lists.php.net to get a copy of this message
ID: 10726 User Update by: ondi@21.ru Status: Bogus Bug Type: Scripting Engine problem Operating system: solaris 7 PHP Version: 4.0.4pl1 Description: cant catch post data from stdin in cgi-bin Im trying to post XML data to the chi-bin php script, that shold parse that data and deal with it tags! So php catch all my stdin before! and I cant reach my XML! Sorry that was my mistake about $PHP_POST_VARS it should be $HTTP_POST_VARS of course. if I do fopen("php://stdin", "r") I'll read nothing!!! because of php did it before! Previous Comments: --------------------------------------------------------------------------- [2001-05-08 06:25:08] jmoore@php.net Bogus.. Looks like your trying to do somthing thats not supported.. I dont know where your getting $PHP_POST_VARS from as it should be $HTTP_POST_VARS you should fopen("php://stdin","r"); if your doing what I think you are.. - James --------------------------------------------------------------------------- [2001-05-08 04:56:24] ondi@21.ru hi there is a trouble with catching stdin with post data in the cgi-bin php script. I did disable track_vars, but I still unable to catch any data in stdin, and all data still present in the $PHP_POST_VARS[]; is there any solution? --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=10726

« previous php.dev (#54372) next »