Re: open php from

From: Date: Fri, 29 Aug 2003 17:48:47 +0000
Subject: Re: open php from
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-161178@lists.php.net to get a copy of this message
Yes, I's said so... Although, I use "Location: newfile.php" in lots of places and it sure works even if it's the wrong way to do it... Although, it's not tested with very many browsers so I guess not everyone can view it (the new page)... -- // DvDmanDT MSN: dvdmandt@hotmail.com Mail: dvdmandt@telia.com "Curt Zirzow" <php-general@zirzow.dyndns.org> skrev i meddelandet news:20030829163546.GF92919@bagend.shire... > * Thus wrote Jonathan Pitcher (jpitcher@cfedc.com): > > Alvaro, > > > > To redirect use the header function (http://www.php.net/header) > > > > The call would be something like: > > > > header("Location: anotherpage.php"); > > I'd like to add that the location MUST be an absolute url. ie: > Location: http://host.com/anotherpage > > Even if its on the same server. > > > Curt > -- > "I used to think I was indecisive, but now I'm not so sure."

« previous php.general (#161178) next »