Hello !
I'm wondering what is (if known) the iPad HTTP user agent for web app or internet websites to recognize it ?
For iPhone and iPod touch, in PHP, I used this code :
What about the iPad ?
I think it will be just 'iPad', but somebody can confirm this ??
I'm wondering what is (if known) the iPad HTTP user agent for web app or internet websites to recognize it ?
For iPhone and iPod touch, in PHP, I used this code :
Code:
if( strstr($_SERVER['HTTP_USER_AGENT'],'iPhone') || strstr($_SERVER['HTTP_USER_AGENT'],'iPod') ){
return TRUE;
}
What about the iPad ?
I think it will be just 'iPad', but somebody can confirm this ??