Re: how check between normal and mobile phone browser?



Maxx wrote:
I need PHP code that check what browser ask my aplication first
if it is normal (usual Internet browsers) than I'll go to normal.php
bu if it is mobile phone browser than I go to mobile.php file...


Define a css rule to set handheld specific properties:

@media handheld {
/* handheld specific rules */
}

@media screen {
/* Other devices */
}

Both Pocket IE and Opera support these properties (haven't tested it with
other browsers).

And, of course, supply a link to the mobile web pages in case the used
browser doesn't understand these rules.


JW


.