[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Missing Form Post Data



I am having this problem.  Despite setting REQUEST_METHOD to "POST" and
CONTENT_LENGTH, I cannot get php (php4) to read the post data from its
standard input when php is run on the command line.

You say below that a function which reads in the data could be written.
Have you written such a function?

Thanks.

 > I did not report that bug, but have the same problem. To be more
 > specific:
 > 
 > I am using the command line version of PHP 4.2.3-Win32. But the problem
 > still exists under php 4.3.0.
 > The bug (or misconfiguration?) is also reproducable with command line
 > version of PHP4.2.3 under Linux.
 > 
 > When POST is used (in conjunction with multipart/form-data)the POST
 > data is not read by PHP.
 > 
 > Writing an own funtion to read the POST data will let you read the POST
 > data.
 > 
 > I could setup an URL to reproduce it and with a <? phpinfo(); ?> page
 > to display how the variables are set. (I could also paste it here...)
 > 
 > regards
 > 
 > Stefan













Why do you want this page removed?