Re: [PHP] Problem submitting a POST request "by hand"

2005-02-28 Thread Vallo
displayed). I discovered by accidant that if I add the echo $c; line then the page loades but the &c value's string is seen on the top. How can I get the www.someserver.com/feedback.phtml loaded again without this trick? Vallo Jochem Maas wrote: Vallo Reima wrote: Hello! I send the

Re: [PHP] Problem submitting a POST request "by hand"

2005-02-28 Thread Vallo
s missing in this script? Vallo Chris Shiflett wrote: --- Vallo Reima <[EMAIL PROTECTED]> wrote: 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

[PHP] Problem submitting a POST request "by hand"

2005-02-28 Thread Vallo Reima
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 function send_host($host,$path,$query,$others=''){ $d="POST $path HTTP/1.1\r\nHost: $host\r\nContent-type: application/x-www-form-urlencoded\r\n${others}User-Agen