Re: PHP and/or Javascript
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
.
Relevant Pages
- Re: PHP and/or Javascript
... willl69 wrote: ... > PHP or any other language. ... It'd be a lot easier to redirect using javascript - that way if it's not on ... (comp.lang.php) - Re: Javascript error message using tags
... Don't redirect on JS Disabled, ... page;}else{redirect to you need to enable javascript page;} ... UA's that don't even support JS. ... browsers I have, but I wanted to know how the browsers out there react. ... (comp.lang.javascript) - Re: Problem with SSL
... When I use the fully qualified URL for the index.htm page, the redirect to ... http://www.mysite.com/secure/index.asp then the client side javascript works ... >> of the website root directory. ... (microsoft.public.inetserver.iis.security) - Re: Script is disabled. Please click Submit to continue.
... Javascript POST redirect which is supposed to run in the "on load" event. ... This script POSTs the SAML token to the destination URL. ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... (microsoft.public.windows.server.active_directory) - Re: Two Submit buttons on one form
... idea, IMO, to rely on javascript when you don't have to. ... I agree, PHP could handle it, just post the form to a single script which will redirect to your desired location. ... process it and then directly redirect the user or reload the page without the $_GET but I think you might be limited in the size of the form. ... (comp.lang.php) |
|