Tech Support Forum banner
Status
Not open for further replies.
1 - 3 of 3 Posts

· Registered
Joined
·
899 Posts
I have any experience with this stuff...but a quick Google search came up with this:
http://detectmobilebrowsers.mobi/

Download their code and compare it with yours to see if you're on the right track, I suppose. (don't copy/paste it directly though).

You may be interested in this article about formatting web sites for the iPhone (using an API, so you may not find a lot of value with it...but maybe something will peak your interest):
http://net.tutsplus.com/tutorials/php/make-an-iphone-app-using-the-envato-api/
 

· Registered
Joined
·
4 Posts
No worries, I just found a solution from another site thread. It turns out that I just have to change the statement:

if(preg_match("/iphone/i",$_SERVER["HTTP_USER_AGENT"])) return false;

to "return true" instead of "false".

Thanks for the reply,

Ash
 
1 - 3 of 3 Posts
Status
Not open for further replies.
Top