Re: PHP and/or Javascript
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: PHP and/or Javascript

From: Tony <tony23.no@dslextreme.com.spam>
Date: Thu Jun 30 2005 - 19:25:31 CEST

Colin McKinnon wrote:
> willl69 wrote:
>
>> Hi,
>>
>> I was wondering if anyone knows of a way to test if javascript is on
>> with PHP or any other language. I need to test if it is enabled and
>> if it isnt, redirect to another page. Any help greatly appreciated.
>>
>> Cheers
>>
>> Will
>
> It'd be a lot easier to redirect using javascript - that way if it's
> not on you'll know about it.

And it doesn't rely on <noscript>, which doesn't always work.

-- 
Tony Garcia
Web Right! Development
Received on Mon Oct 17 21:00:06 2005