Kelvin,

You can use
<?
header("Location:login.php");
exit;
?>

If you want to do it with PHP. You have to put it at the top of the file, since no other information can be sent before the Location header.

HTH,
-Oscar F.

Poon, Kelvin (Infomart) wrote:

Hi,

I know this topic was discussed but I deleted my previous mail so I can't go
back and review them.  My question is, is there a faster way to redirect
html pages other than just using  <meta HTTP-EQUIV="REFRESH" CONTENT="1;
URL=login.php"> ?  Is there any way we can do that in php so that it
redirect "FASTER"?  Right now I set the redirect time to be 1 sec, but for
some reason it still takes kind of long until it actually redirects, I was
wondering if there is any other way I can do this faster.


THanks a lot everyone,


Kelvin






-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to