On Fri, 29 Jul 2005, Ricky Wibowo wrote:
I wonder to know how to send a file (.jar , .mid, etc) into handphone using SMS?
SMS is capable of sending binary and plain-text content to handsets. Binary content would be like monophonic ringtones (RTTTF) and WAP Push messages. Plain text is just that -- plain text. It could include a URL. WAP can be served by Apache without modification. Many folks use PHP or Perl to write a script that sends the WAP header so the phone knows to expect WAP instead of the default HTML. All larger (i.e. 1Kb+) binary files, .mid, .jar, .mmf, etc are delivered via the Internet. You can use WAP, though some phones can use HTML. There is a great PHP library to handle this called HawHaw. Google it. In order to deliver large binary files, you must be running a web server that contains the content. An SMS is sent to the handset (either a binary wap push, which contains a message + a URL and almost forces a phone to go to that URL, or a plain text SMS with the URL as part of the text) with the URL reference to the content you want to send them. Please note that WAP Push IS NOT supported by every carrier. Some support it, some do it differently, some don't do it. WAP Push is not guaranteed to work, while plain text almost always does. Beckman --------------------------------------------------------------------------- Peter Beckman Internet Guy [EMAIL PROTECTED] http://www.purplecow.com/ ---------------------------------------------------------------------------
