for detect javascript, you can write a simple function that make a redirect, so if you have a request from the redirected url, you know that js is enabled, the same for cookies.
The user browser identificator is available in $_SERVER[‘HTTP_USER_AGENT’]. In the user agent is also written the operating system, but not in a standard way, you should hack the string you receive for get it.
yeah, about that. i need to display the details in the page… so if i redirect, … i mean is there any way for the webapp to confirm that?? just simply to know if cookies and jvascrpt are enabled. thank you
If javascript is enabled, you will be redirected by javascript to the page syspage&javascript=yes, otherways the browser will follow the link to syspage&javascript=no. You can check $_GET[‘javascript’] for know wether js is enabled.