Oct 23rd, 2011 Detect Mac or PC in PHP Use this script to find if the user is on a Mac or a PC. Returns TRUE when on a Mac. $default is optional. If the script can’t determine either a Mac or a PC, it will return this.