How to detect iPhone, iPod and iPad with PHP

Use the User Agent to detect if the vistor is using an Apple device and wich one (iPhone, iPod or iPad)

I've tested this snipped with Safari wich allows you to change the User Agent.

Leave a Reply

Add <code> Some Code </code> by using this tags.