Re: Simple .php page redirect

From: Date: Thu, 20 Sep 2001 05:14:12 +0000
Subject: Re: Simple .php page redirect
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-4350@lists.php.net to get a copy of this message
You can also use a meta tag inside the <head></head> tags of your page. Put the following lines in your code: <head> <meta http-equiv="refresh" content="0; url=/mypage.php"> </head> /mypage.php becomes the page you want to redirect your users to. The number after 'content=' is the number of seconds the page will wait before moving to the next page. Using '0' for that value makes it happen immediately. "Stefanos I. Dimitriou" <sdimitri@teiath.gr> wrote in message news:007801c13f4b$5dbab9e0$0e6482c3@noc.teiath.gr... > > > hello, > > it is very possible to redirect with just some html code... > <body onload="use java code to open page"> > i.e. the location might work, onload="location='../folder/file'" > > i hope this can help you > > ----- Original Message ----- > From: "Steve B" <nospam@yahoo.com> > To: <php-install@lists.php.net> > Sent: Monday, September 17, 2001 9:48 AM > Subject: [PHP-INST] Simple .php page redirect > > > > Hi folks > > > > I'm sure this will seem like a stupid question to many, but I'm simply > > trying to do a simply php redirect to another php page. How is this > done? > > > > In this example, my site had a php file in one directory and it has now > > moved elsewhere, how can I make a simple redirect so people are pointed > to > > the right page? > > > > Thanks > > > > > > > > > > -- > > PHP Install Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net > > For additional commands, e-mail: php-install-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.install (#4350) next »