Re: Checking for Javascript funcionality

From: Date: Tue, 26 Aug 2003 14:10:22 +0000
Subject: Re: Checking for Javascript funcionality
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-160760@lists.php.net to get a copy of this message
Hecchan wrote:
<noscript>
    <meta http-equiv="Refresh" content="0; URL=<?php echo $_SERVER['PHP_SELF'];?>?UA_js=false" />
</noscript>
I do something similar to this at http://contactjuggling.org/ if the server thinkks JavaScript is set, then it uses the above to make sure. Otherwise, it puts this in the header: <script type="text/javascript">document.location="/?s=1"</script> Kae

« previous php.general (#160760) next »