Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Mar 2003
    Posts
    49
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Variable to tell script if a WAP phone is accessing...

    Is there a variable that tells a PHP script that a WAP enabled phone is accessing it? I'm using HTTP_USER_AGENT, but that doesn't seem like it's very efficient and not all phones show the same info in HTTP_USER_AGENT...

  • #2
    New Coder
    Join Date
    Mar 2003
    Posts
    49
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I think there's database problems or something... I got 2 notifications from this thread and niether post showed up...

  • #3
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I posted a response, but when I read it back to myself, all it really said was "I don't know"

    The gist of what I put was that *i think* what you need to do is find a way of detecting the input protocol (http or wap) and use that to select your xsl stylesheet; but I have no idea how to do that - and in fact, I don't think Apache supports the WAP protocol without extensions - ie, if you're expecting to be able to serve WML pages to mobile phones through the HTTP protocol, well, you can't (afaik)
    "Why bother with accessibility? ... Because deep down you know that the web is attractive to people who aren't exactly like you." - Joe Clark


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •