--- 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 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?

Output.

If you send nothing to the client, the client gets nothing. I promise I'm
telling the truth. :-)

It doesn't matter what else you do. You can connect to a thousand
different servers, collect data from a thousand different databases, and
do stuff more complex than any PHP developer has ever done before.
However, if you never output anything, the client is going to see a blank
page.

Hope that helps.

Chris

=====
Chris Shiflett - http://shiflett.org/

PHP Security - O'Reilly     HTTP Developer's Handbook - Sams
Coming Soon                 http://httphandbook.org/

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

Reply via email to