View Single Post
Old 01-19-2008, 11:22 PM   #13 (permalink)
ETbyrne
how quixotic are you?
 
ETbyrne's Avatar
 
Join Date: Dec 2007
Location: Lapeer, MI
Posts: 445
Thanks: 37
ETbyrne is on a distinguished road
Default

Hello, that's why I included the exit; command so if for some odd reason JS is disabled then it just exits, stops. xenon's method works but so does mine. As for the putting in the URL...

PHP Code:
$url 'http://www.mysite.com'// *Cough*

echo "<script language=\"javascript\">
location.href=\"
$url\";
</script>"
;
exit; 
// Stops executing page, just stops if JS is disabled 
__________________
Dingo Web Systems > http://www.dingocode.com
My Website > http://www.evanbot.com
ETbyrne is offline  
Reply With Quote