BS> Your question intrigued me enough to start searching for an
BS> answer. Never did this myself, but you may try
BS> http://download.php.net/manual/en/html/function.fopen.html (fifth
BS> paragrapgh of explanations). Hope it works with Apache - I was
BS> unable to determine if this only works when you run PHP scripts
BS> from the prompt.

Thanks for your response. I think the problem is actually to do with
STDIN having already been gobbled up by PHP when it parsed the input,
and therefore there is no more data available -- maybe it _is_
available when the Content-type is missing (by stuffing the data back
on the queue) or something. Hm. I'll take a peek and let you know,
although I have since found another solution:

In the end I found another way around it by sucking-in the data using
a tiny Perl script, parsing out the field I wanted and then issuing an
HTTP request from the Perl script to launch a PHP script with a
regular QUERY_STRING. Streuth!


Cheers,
James.

-- 
Axoria Ltd specialises in Bespoke Internet Software and Hosting.
(Esp. integration of desktop with on-line databases / e-Commerce.)


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to