GetDotted Domains

Viewing Thread:
"WAP"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Thu 03/02/05 at 15:55
Regular
"Picking a winner!"
Posts: 8,502
Has anyone had any experience in programming anything for a mobile device such as a mobile phone. More specifically using WML/PHP.

I have a small project thats based on a larger project I'm working on. Have it all up and running via a wap browser but when it comes to using it on a mobile phone it dosn't work.
Think it may have something to do with the htaccess file and how it needs to be set up but I can't seem to get it to work.

Anyone know how or know the best place to ask?
Open to suggestions and recommendations.

Thanks
Fri 04/02/05 at 00:52
Regular
"Picking a winner!"
Posts: 8,502
Thanks

I'll give it a try.
Thu 03/02/05 at 23:36
Regular
"NULL"
Posts: 1,384
Rename the file to something.wml, then create a file called .htaccess in the folder containing the .wml file, with the following single line:

AddType application/x-httpd-php .wml
Thu 03/02/05 at 22:51
Regular
"Picking a winner!"
Posts: 8,502
Nimco wrote:
> What file extension are the PHP files? .php? If so, change them to
> .wml and change your conf file to parse wml files through the PHP
> engine.

How do I do that? Would I need a htaccess file to do that if I'm not running it locally on apache?

Say I had a file like this:

// send wml headers
header("Content-type: text/vnd.wap.wml");
echo "";
echo " . " \ "http://www.wapforum.org/DTD/wml_1.1.xml\">";
?>


Browse

Get Recommendation




Would I have to change any of the content to get it to work or just re-name it to .wml

Thanks for your help.
Thu 03/02/05 at 21:41
Regular
"NULL"
Posts: 1,384
What file extension are the PHP files? .php? If so, change them to .wml and change your conf file to parse wml files through the PHP engine.
Thu 03/02/05 at 18:18
Regular
"Picking a winner!"
Posts: 8,502
I have some php files. I change the headers to show that what follows is WML code. In that WML code I use some more php.
It all works fine through a wap browser.

However when I upload it and try to view it I get a - file type not recognised error.

I can access the uploaded version via the wap browser and it still works so I've no idea whats causing the errors and how to sort it.
Thu 03/02/05 at 17:18
Regular
"NULL"
Posts: 1,384
I created a WML/PHP webmail site a few years back. That worked really well actually.

What's the error exactly?
Thu 03/02/05 at 15:55
Regular
"Picking a winner!"
Posts: 8,502
Has anyone had any experience in programming anything for a mobile device such as a mobile phone. More specifically using WML/PHP.

I have a small project thats based on a larger project I'm working on. Have it all up and running via a wap browser but when it comes to using it on a mobile phone it dosn't work.
Think it may have something to do with the htaccess file and how it needs to be set up but I can't seem to get it to work.

Anyone know how or know the best place to ask?
Open to suggestions and recommendations.

Thanks

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Thanks!
Thank you for dealing with this so promptly it's nice having a service provider that offers a good service, rare to find nowadays.
First Class!
I feel that your service on this occasion was absolutely first class - a model of excellence. After this, I hope to stay with Freeola for a long time!

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.