hi i'm designing a website with php language. how can my website recognize the mobile devices? what should i do for this?
You can use something like WURFL - an open source mobile browser and capabilities library. There are a few others but I belive this is the most comprehensive. It features a PHP API so you should just be able to drop it into your project and do some light configuration for it to work