Re: PHP Redirect in the middle of code?

From: Date: Tue, 11 Sep 2001 06:44:45 +0000
Subject: Re: PHP Redirect in the middle of code?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-66859@lists.php.net to get a copy of this message
be careful, i guess some Web-browsers will not accept it .... ( all the syntax-checkers like Opera ???? ) (°- Nayco, //\ Nayco@netcourrier.com v_/_ http://nayco.free.fr ----- Original Message ----- From: Ken <kenzo@free-music.com> To: Steve Edberg <sbedberg@ucdavis.edu> Cc: Andrew Penniman <tech@kdpyield.com>; <php-general@lists.php.net> Sent: Monday, September 10, 2001 7:00 PM Subject: Re: [PHP] PHP Redirect in the middle of code? > At 08:11 AM 9/10/01 -0700, Steve Edberg wrote: > >Right off the top of my head, you have three options that I can see: > >(3) Use a META REFRESH tag. For example: > > > > <META HTTP-EQUIV="refresh" CONTENT="1;page.php"> > > > >where 1 is the time (in seconds) before you want the redirect, and 'page.php' is where you want the redirect to. Of course, this tag needs to be in the <HEAD> section, so it might not help you much. > > Not necessarily true, the <head> part. My application outputs a <meta ...refresh...> line really late in the HTML document - definitely inside the <body> section - and the refresh seems to be working for all. > > - Ken > kenzo@free-music.com > > -- > 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 (#66859) next »