Posted By

browncardigan on 02/08/10


Tagged

iphone


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

umang_nine
harrydeluxe
BrianCoyDesign
joethermal


iPhone Detection (PHP)


 / Published in: PHP
 

URL: http://bettesmidler.com

  1. if (stristr($_SERVER['HTTP_USER_AGENT'], 'iPhone')) {
  2. // redirect to an iphone version of the site?
  3. }

Report this snippet  

You need to login to post a comment.