Boy!  Everyone here is itching for an answer!!!  :-)  Sigh!  Well, I guess
all web browsers suck at it by the way!!  Michal Migurski from other posting
had explained that fsockopen() do the TCP stuff or the Transport Layer.  So,
no wonder fsockopen() can't get to the Network layer, like the IP Address
stuff.  I'll think of a workaround to the header() instead.  I don't want to
use cURL because it take more time.  And finally, for those of you who are
dying to know the answer to why I can't use the header().  It's the 3rd
party coding that contain the code,

--snip--
if(headers_sent())
    $this->Error(' **** ');
--snip--

FletchSOD

"Chris Shiflett" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> --- Scott Fletcher <[EMAIL PROTECTED]> wrote:
> > In plain english, can't use the header("Location: ****"), so have to
> > use the fsockopen() instead. Just that header() is not allowed, don't
> > ask me why.
>
> I'm asking anyway. :-)
>
> You cannot (thank goodness) connect to a remote client with fsockopen(),
> so you can probably save yourself some trouble by forgetting this whole
> approach. You need to focus on why header() is not working for you,
> because this is the way to send HTTP headers to the client.
>
> 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