--- Scott Fletcher <[EMAIL PROTECTED]> wrote:
> Application --> Web Browser/Web Server
> Presentation --> HTTP/HTTPS/SSL and language (HTML/JavaScript, etc).
> Session --> Browser-Server connection, etc.
> Transport --> Port 80/Port 443, packet transfer control, etc.
> Network --> IP Address/Internet/Router
> Data Link --> Network card driver/binding
> Physical --> Media stuffs (Network cable, wireless, etc).

In this case, fsockopen() basically handles everything from the Transport
layer down, and whatever you write needs to handle everything from the
Session layer up.

> > So, use header().
>
> Yea, working on it  Wish can make the 3rd party software come after
> the header()..

You don't have to. All you have to do is make sure no output comes before
your 3rd party software. If you can't avoid this, you can put ob_start()
at the very top, and PHP will buffer the output for you, so that headers
aren't sent until the script terminates. Whatever works best for you.

Hope that helps.

Chris

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

PHP Security - O'Reilly
     Coming Fall 2004
HTTP Developer's Handbook - Sams
     http://httphandbook.org/
PHP Community Site
     http://phpcommunity.org/

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

Reply via email to