Hello, How do I do something like this in Wordpress? If visitors uses windows include windows.php If vistor uses mac or linux include mac and linux.php PHP: This must be peace of cake for someone who is into php and wp, but not for me. Thanks in advance for your help DP gurus.
if (stristr($_SERVER['HTTP_USER_AGENT'],"mac")) { // You have a mac! } else { // Must be Windows, Linux, or Joe Blow OS } PHP: That's in PHP5 terms at least.