Re: fsockopen to spit out the HTTP's Location...

From: Date: Tue, 23 Mar 2004 17:31:20 +0000
Subject: Re: fsockopen to spit out the HTTP's Location...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-181288@lists.php.net to get a copy of this message
--- Scott Fletcher <scott@abcoa.com> 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/

« previous php.general (#181288) next »