title: php script that detect from user agent what is the device (mobile)?
body: <p>I am try to write a php script that return the device from the user agent in the header.</p>
  
  <p>the problem that i see that is not simple to do a regular expression, because the different between the device (am i wrong?)</p>
  
  <p>so i want an updated  list of mobile device according to the user agent </p>
  
  <p>I found this list  : <a href="http://en.wikipedia.org/wiki/List_of_user_agents_for_mobile_phones" rel="nofollow">List of user agents for mobile phones</a></p>
  
  <p>I try to find an updated xml / feed that i can take all the kinds</p>
  
  <p>or other way you think that best to do this .</p>
  
  <p>thanks.</p>