Re: Problem submitting a POST request "by hand"

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

 



Vallo Reima wrote:

Hello!

I send the parameters from one php script to another via POST method. The solution works (see example below) but the receiver page loads ONLY if I include the echo $c; command after send_host (see PROBLEM!!! line). Otherwise a blank page loads without any error messages. The problem is same with Microsoft-IIS/5.1-PHP/5.0.3 and Apache/2.0.51-PHP/4.3.10... What can I do to get rid of this?
Thanks!
Vallo


[snip]

So you calling that function, but then the page stops loading when you do?

A possible solution woul be to put \r\n\r\n after $query in your $d string. That would signify the end of the Request body (and the server should not send a response until it gets that.)

I'm not sure it'll fix your problem, but it's worth a shot

Chris

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux