I do not understand PHP completely, I do not know can be implemented by mobile phone access to the site automatically call the specified template to display the phone page? Don't know how to write code. Because I am from the program under the Web, there is a build static this function, also has generated static template file, I just think, how to use the phone when accessing the template file of the phone call.
I do not know the description of the clear, I hope to know how to help solve the problem, first thank you! ~
Reply content:
I do not understand PHP completely, I do not know can be implemented by mobile phone access to the site automatically call the specified template to display the phone page? Don't know how to write code. Because I am from the program under the Web, there is a build static this function, also has generated static template file, I just think, how to use the phone when accessing the template file of the phone call.
I do not know the description of the clear, I hope to know how to help solve the problem, first thank you! ~
Judging ua for mobile phone Si cho with mobile phone template
Determine if the current access device is mobile phone, mobile phone, directly execute the corresponding template file in the Mobile directory
http://detectmobilebrowsers.com/