OPINIONS: Best way for server side Mobile redirection. WURFL? AndyMoore? PhpMobile..?

Discussion in 'PHP' started by prince718, Mar 22, 2012.

  1. #1
    Hello. I am going to be changing around my site, and want to learn the best way for Mobile Redirection to a version of the site taylored to mobile devices. I am thinking of swaying away from Client Side(javascript) because it seems less reliable, and some ppl may have javascript disabled.... So I am looking for opinions on the best Server Side(with PHP?) method....... I heard of the Php Class that automatically will detect phones and tablets. I heard of WURFL Database, xxxatlas?, Andy Moore's script; which seems to be a big hit. And I am thinking that may be the best option. What do you think. All opinions and suggestions appreciated, as I would need to know this before I can go any further. Thanx.
     
    prince718, Mar 22, 2012 IP
  2. danx10

    danx10 Peon

    Messages:
    1,179
    Likes Received:
    44
    Best Answers:
    2
    Trophy Points:
    0
    #2
    Go with PHP, JavaScript can be disabled - so can't be relied upon.

    With PHP you'd make use of the HTTP_USER_AGENT option, this is the common menthod used and theres plenty of free PHP libraries out there to utilise.

    FYI: HTTP_USER_AGENT can be spoofed, but I would not worry about it as that would be overkill.
     
    danx10, Mar 24, 2012 IP