Ringtones and php
| From: | John Nichel | Date: | Sun, 02 Feb 2003 19:18:10 +0000 |
| Subject: | Ringtones and php | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-134029@lists.php.net to get a copy of this message | ||
Has anyone used php to send ringtones to cell phones? I've been to sites that are doing this in ASP, so I'm pretty sure it can be done in php. I've tried just sending headers like this...
header ( "Content-Type: audio/midi" );
header ( "Content-Name: By-Tor's Song" );
header ( "Content-Version: 1.0" );
header ( "Content-Vendor: www.by-tor.com.com" );
header ( "Content-URL: http://www.by-tor.com/test.mid" );
header ( "Content-Size: 16655" );
header ( "Content-Disposition: attachment; filename=test.mid" );
readfile ( 'test.mid' );
but that isn't working...it just forces the phone to play the midi file.
--
By-Tor.com
It's all about the Rush
http://www.by-tor.com