To redirect a page, you can use this 3 methods...

php:
the header function:

header("Location: some_page.php");

html:
the meta tag:

<meta http-equiv="refresh" content="0; url=some_page.php">

javascript:
the location.href property

<script language="javascript" type="text/javascript">
location.href='some_page.php';

// also you can refresh by seconds

window.setTimeout('location.href="some_page.php";', 600); // 6
secs....refresh to some_page.php
</script>

good luck... x)



"Allen D. Tate" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
> I would like to setup an index.php file to redirect to another .php file
> as soon as it is invoked, like [response.redirect] does in Active Server
> Pages. Does anyone know this cammand off the top of their head? Thanks
> in advance. :)

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

Reply via email to