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" <[EMAIL PROTECTED]> wrote in message
007801c13f4b$5dbab9e0$[EMAIL PROTECTED]">news:007801c13f4b$5dbab9e0$[EMAIL PROTECTED]...
>
> > 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" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> 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: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail:
[EMAIL PROTECTED]
>
>
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]