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

2005-02-28 Thread John Holmes
Vallo wrote: > Client sends request (submits form to my script) to me (i.e. server) and I want to send back to client a page with POST parameters from my script. But the page doesn't display in the clients browser (blank page opens). Question: what is missing in this script? echo and/or print?

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

2005-02-28 Thread Chris Shiflett
--- Vallo <[EMAIL PROTECTED]> wrote: > I send something using fsockopen() & fputs() :-) Yes, you send something to another server, not the client. You send stuff to the client by using things like echo. > Client sends request (submits form to my script) to me (i.e. server) > and I want to send ba

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

2005-02-28 Thread Vallo
I send something using fsockopen() & fputs() :-) Client sends request (submits form to my script) to me (i.e. server) and I want to send back to client a page with POST parameters from my script. But the page doesn't display in the clients browser (blank page opens). Question: what is missing in

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

2005-02-28 Thread Chris Shiflett
--- 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 PROBLEM!!! > line). Without looking at your code, I

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

2005-02-28 Thread Chris
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 message

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

2005-02-28 Thread Vallo
The problem is that the URL which I posted to doesn't display in a browser again. I want to do the following: 1) www.someserver.com/feedback.phtml sends the user-entered form data to www.someserver.com/mailer.php 2) www.someserver.com/mailer.php (the example below) checks these data and submits

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

2005-02-28 Thread Jochem Maas
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). AFAICS $c contains the response output of the URL whic

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

2005-02-28 Thread Vallo Reima
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