01-19-2008, 11:22 PM
|
#13 (permalink)
|
|
how quixotic are you?
Join Date: Dec 2007
Location: Lapeer, MI
Posts: 445
Thanks: 37
|
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
|
|
|
|