Re: Header Problem

From: Date: Wed, 21 Mar 2001 08:12:02 +0000
Subject: Re: Header Problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-44939@lists.php.net to get a copy of this message
Hello, Yes this should work, but if like me, you still have no redirection and you are working with IE 4.0, put exit; after header. $URL="domain.com"; header ("Location: Http://www.$URL/members/index.php"); exit; I have not seen this anywhere, but putting exit; after a redirection was the only way to get my redirection with header to work. py ----- Original Message ----- From: Rasmus Lerdorf <rasmus@php.net> To: <KPortsmout@aol.com> Cc: <php-general@lists.php.net> Sent: Wednesday, March 21, 2001 7:45 AM Subject: Re: [PHP] Header Problem > Should work just fine. > > On Wed, 21 Mar 2001 KPortsmout@aol.com wrote: > > > Hi, > > > > Im having whats probably a very basic problem but just > > cant get my head > > around it this late in the day, anyone have any idea why this won`t work? > > > > $URL="domain.com"; > > > > header ("Location: Http://www.$URL/members/index.php"); > > > > $URL changes so I can`t write it directly into the header line, anyone? > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#44939) next »