Jump to content

how to detect IE users


darkcarnival

Recommended Posts

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
Share on other sites

$_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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.