darkcarnival Posted February 6, 2007 Share Posted February 6, 2007 hi, i a having a bit of trouble with a download manager tool of mine. the way IE works with the warning bar the captcha blocks the reload. so a solution i thought was to make a ie section if they cant download the files. now i only want IE users to see this to kill off abuse a bit but I dont know how to get get browser details from php or more on how to just the name of the browser and not the version part. now if someone has a better solution to my issue, please input, im open to other opinions thanks Link to comment https://forums.phpfreaks.com/topic/37291-how-to-detect-ie-users/ Share on other sites More sharing options...
Balmung-San Posted February 6, 2007 Share Posted February 6, 2007 $_SERVER['HTTP_USER_AGENT'] will give you the User-Agent string passed to you by the browser. Compare that to a list of User-Agents (I believe the best file list is the browscap.ini). I suggest just manually extracting the User-Agent strings from the file, as you won't need the browser capabilities for use in this problem. Link to comment https://forums.phpfreaks.com/topic/37291-how-to-detect-ie-users/#findComment-178221 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.