Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Aug 2010
    Posts
    408
    Thanks
    17
    Thanked 2 Times in 2 Posts

    mail script to show browser info?

    I have to start dabbling in PHP again, and I need to amend a script for browser detection to write a css sheet to the page. The change is that I need to see not just if they're using chrome, but if they're using chrome on a computer or an android tablet device.

    It was suggested I put in a basic email script to send me a message of the browser information when I load the page, because I can't really see the info on a tablet?

    I didn't understand what was meant, so I thought I'd ask here.

  • #2
    Regular Coder patryk's Avatar
    Join Date
    Oct 2012
    Location
    /dev/couch
    Posts
    398
    Thanks
    2
    Thanked 64 Times in 64 Posts
    $_SERVER['HTTP_USER_AGENT'] will give you all the data you need


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •