Everybody! This is important. In a few days, these forums will be moving over to using the totally sweet Discourse platform. To ensure this migration happens smoothly with no loss of content, these forums are currently in a read-only mode. I do apologize for the inconvenience.

There is never a good time to turn the forums off for an extended period of time, but I promise the new forums will be a billion times better. I'm pretty sure of it.

See you all on the other side in a few days, and if you have any (non-technical) questions, please e-mail me at kirupa@kirupa.com. For technical questions, try to find a tutorial that corresponds to what you are looking for and post in the comments section of that page.


Results 1 to 5 of 5

Thread: html/php vs wml index files

  1. #1

    html/php vs wml index files


    i'm currently trying to develop a mobile phone/device version of our website.

    however, theres a bit of a problem.

    the main index page is index.php

    for the mobile phone, its index.wml

    trying to access the page (www.examplesite.com) from a phone, it doesn't read or find the wml file, it tries to read the php index page, which obviously doesn't work. i know this from the site logs. i then changed the index.wml to home.wml, but that didn't work. however, if you put the index.wml in the web address, like www.examplesite.com/index.wml it works.

    why does it do this? and how do you get the mobile phones to read the wml file without having to put that file onto the end of the web address??

    'Disk 1 of 1.' That means there's another one around here somewhere.

  2. #2
    ||| (--(--(--)--)--) |||
    u need to create an apache handler to redirect wap requests to a certain file goggle it

  3. #3
    hi there..thanks fo the reply.

    however i cant work out what i need to change.

    i've searched on google, maybe i'm searching wrong or clicking on the wrong things. i dont have direct access to the server, as the site is hosted elsewhere on a pro server place type thingie.

    would it be best to ask them or can i alter it myself?
    'Disk 1 of 1.' That means there's another one around here somewhere.

  4. #4
    ||| (--(--(--)--)--) |||
    you may be able to direct them using php to find there browser type and direct to a specified file, i dont know what kind of headers a WAP browser would send though

  5. #5
    thanks for your help so far.

    anyone know what i can do to detect the wap browser and direct them to the index.wml ??
    'Disk 1 of 1.' That means there's another one around here somewhere.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Home About kirupa.com Meet the Moderators Advertise

 Link to Us


Copyright 1999 - 2012