View Single Post
Old 01-19-2008, 11:09 PM   #11 (permalink)
xenon
The Frequenter
Newcomer 
 
xenon's Avatar
 
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 438
Thanks: 3
xenon is on a distinguished road
Default

Quote:
Originally Posted by Village Idiot View Post
Dont use javascript, too many people have it disabled.
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 have optimistic thoughts, even though sometimes (if not always) life's a bitch.
xenon is offline  
Reply With Quote