HowTo: Browser and OS Detection with PHP

A very quick PHP script for detecting browser/device and OS agent strings from the HTTP User Agent variable. This is not 100% reliable because surfers and bots sometimes hide or falsify the user agent string so please use with caution. Browser and OS Detection Script This script detects whether the OS/Device is Linux, MacOS, iPad, iPhone, Droid, Unix, Windows or anything else (caught in Unknown). It also detects whether the browser is Chrome, Firefox, Opera or Internet Explorer. The user agent string is stored in the variable $agent. The operating system or device is stored in the … [Read more...]

Vanishing WordPress Posts!!!

smashed computer graphic

I had a shock today. In fact, I was terrified, livid and exasperated by what happened to me today: I lost a very long Wordpress article that I have been working on for several months; or, at least, I thought I had lost it. I made a few edits and added some new details to the 140 Mafia Guide, saved it and viewed it to see that the article displayed as I wanted. Only, it wasn't there to be seen. The comments were still visible but the article was, well, gone! I felt sick. I've spent ages working on The Guide, adding internal links and changing the layout to make it more user friendly. I wanted … [Read more...]

All original content on these pages is fingerprinted and certified by Digiprove
Loading

Invite Friends to ‘JournalXtra’

Supercharge your web design skills with JournalXtra

Buy me lunch!

I'm a cheap date. Where else can you buy lunch for a couple of dollars?

I accept Bitcoin too!

Categories

Dynamik Website Builder
WPMU DEV - The WordPress Experts
StudioPress Theme of the Month