How to get the browser javascript enable or not using php/javascript?

There is no fool proof way to detect it. The one method is to use JavaScript to set a hidden form field with a value. When the page is submitted, you check that value and you can know JavaScript is enabled if it is there.

What is the main purpose of needing to know if JavaScript is enabled?

You could incorporate a bit of AJAX into the script that calls back to some script on your server. If that script gets called, then you know Javascript is enabled for that browser.

Get_browser I believe is what you are looking for. Get_browser — Tells what the user's browser is capable of. Description get_browser ( string $user_agent , bool $return_array ) Attempts to determine the capabilities of the user's browser, by looking up the browser's information in the browscap.

Ini file. Here is the link with the information: ca.php.net/get_browser I hope this helps.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions