The forums have permanently moved to forum.kirupa.com. This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.


Results 1 to 5 of 5

Thread: html/php vs wml index files

  1. #1

    html/php vs wml index files

    hi

    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
    230
    posts
    ||| (--(--(--)--)--) |||
    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
    230
    posts
    ||| (--(--(--)--)--) |||
    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

 Credits

Copyright 1999 - 2012