View Single Post
Old 01-20-2008, 06:44 PM   #17 (permalink)
TlcAndres
The Addict
 
Join Date: Nov 2007
Posts: 264
Thanks: 2
TlcAndres is on a distinguished road
Default

Quote:
Originally Posted by xenon View Post
lol...so how's in the '80s? Is it true that they run naked on the streets? No, really now, who turns off Javascript nowadays (and what would be the purpose)?

Javascript redirection method:

Code:
function do_redirect( url )
{
    window.location = url;
}
..then, in your php code, you could do something like so:

PHP Code:
echo '<script type="text/javascript">do_redirect("http://someurl.com/apage.html");</script>'
I go around with javascript disabled o.O
TlcAndres is offline  
Reply With Quote