Re: Header Problem

From: Date: Wed, 21 Mar 2001 22:22:00 +0000
Subject: Re: Header Problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-45014@lists.php.net to get a copy of this message
What happens when it doesn't work, any error messages? Try: header ("Location: http://www." . $URL . "/members/index.php"); or $loc = "Location: http://www." . $URL . "/members/index.php"; header ($loc); The first suggestion should work. K E I T H V A N C E Software Engineer n-Link Corporation On Wed, 21 Mar 2001, almir wrote: > are you using cookies together with header , i had problems with that > -almir > > <KPortsmout@aol.com> schrieb im Newsbeitrag > news:4a.13152272.27e9b56c@aol.com... > > 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 (#45014) next »