forceway

  • Increase font size
  • Default font size
  • Decrease font size

WAP file server / free ring tones

E-mail Print PDF

This is an aging howto that was basically about serving your own ringtones over WAP. In 2004 it was the only way I could get my own tones, but now modern phones offer many other possibilities...

phone screen

Background:
I have a Nokia 3595 w/ AT&T mMode (GSM internet), a web host/provider that supports PHP (this site), and the desire to put ringtones on my phone for free. The pay tones cost like $2 a pop and you can't even preview them. My goal was to learn a little about WAP & WML, and see if this could be done with the setup described above. It can! Works pretty well. What I came up with is a generic PHP script that can generate a WML deck with 1 card that lists and links all the files in the current directory. You can 'tap' the links and download the files. In my case these are 4 channel Nokia format midi files, but you could serve images or whatever files you want. Note that you still pay data transfer charges.

What is a WML deck? card?
It is the equivalent of an HTML page, see tutorials here.

How do I generate WML using PHP?
Add some special headers.. see my source code, or search the web.

Can't you just configure a webserver to directly provide WML directory listings, just like they can do with HTML?
I dont know? I dont want to setup and run my own server though.

I am interested in free ringtones....?
Dont ask me about this im not the expert and im just experimenting. I am using the Nokia Sound Converter from PC Suite 4 (its not even for my model phone) to convert general midi files. I used JazzWare (kind of hokey) to shorten and tweak the midis first. Some work well, most dont. I got the Cops theme working, its awesome! hehe. If you are using this to transfer midis to your phone, watch out for the giant >30k ones. Probably to large for most phones and you might be paying for that data transfer.

Limitations:
-I have no idea what phones and what carriers this will work with.
-There is a 1492(?) byte limit for WML decks that the script ignores. If you have alot of files in your directory expect to blow this limit.

Requires:
-PHP 4

Download:
Source here, for personal use. Rename to index.php, put it in the directory of choice, and you should be set. If you come up with some cool modifications or want permission to do something email me.
If your editor doesnt do tabs correctly the source may look ugly. Drive safely.

Demo:
I am serving a few files now and then, point your wap browser/phone to http://forceway.com/wap and check it out. Dont download anything, there might be copyright issues.

Last Updated on Thursday, 17 December 2009 00:57