Click to See Complete Forum and Search --> : Need some real help here


Tasmanian Devil
08-08-2003, 11:21 AM
I know it is possible from pro, but can someone help me out. I have tried on my own, had help from pyro also. Can someone tell me how I can us PHP to check to see if cookies and javascript is enabled or not? If one or both are disabled, I need the user to go to one page and if both are enabled, then the user goes o a different page. It would be greatefull if someone could help me out.

Thanks

angrytuna
08-08-2003, 01:41 PM
how about something like this (http://us2.php.net/function.get-browser) ?

AT

pyro
08-08-2003, 05:30 PM
For that to work, the browscap (http://us2.php.net/manual/en/ref.misc.php#ini.browscap) directive must be enabled in the php.ini file. It is not as a default.