I don't have much experience with this, but it seems that there are many different headers sent by WAP browsers. For example, thse guys actually SELL the headers to people who are interested:
http://webcab.de/wbhh.xhtmlIf you look at the
examples, it doesn't look like all WAP browsers necessarily send the headers you mentioned. If you buy such a database of headers (or can find enough free ones), you might be able to use PHP's
getallheaders() and parse them to see if they match known headers for a WAP browser, then serve content accordingly.
http://www.thewirelessfaq.com/ has some pretty helpful information (at least for someone like me who is not familiar), and
http://www.thewirelessfaq.com/3.3.asp offers some WAP emulators that might be helpful in testing ideas.
This forum also has some potentially interesting info:
http://discussion.forum.nokia.com/forum/showthread.php?t=68342Sorry I can't give you a more informed answer :?