[PHP-DB] flash/php problem

2006-03-08 Thread Hoz
Here is a light but usefull Flash mp3 player : http://jeroenwijering.com/?item=Flash_Single_MP3_Player (thanks to the author ;)) i wanted it to be dynamic : in list.php, i list some mp3 songs from a Mysql database. i want each song to be played in the flash player. looks like : Artist #1 - Arti

Re: [PHP-DB] flash/php problem

2006-03-08 Thread Hoz
HP-DB] flash/php problem Why not have a play.php which does this: query("update hitcounter set plays = plays+1 where file = {$_GET['file']}"); header("Location: play.swf?file={$_GET['file']}"); ?> Just a simple redirect. The user wouldn't ev

Re: [PHP-DB] flash/php problem

2006-03-08 Thread Hoz
yep, and the exact question is : how can i update my DB through Flash, using PHP. Thanks Tony, amfphp looks interesting. i'll take a look. but, Micah, each song has to be played on its own flash player is the current list.php page. quote -- list.php - this lists the mp3's, and each mp3 links t

Re: [PHP-DB] flash/php problem

2006-03-11 Thread Hoz
(sorry i'm late ;)) well it's all done and works perfectly i send the mp3 ID to SWF, then update DB with PHP i call from SWF, return the mp3 file to SWF then play the file. i cant show you the result, but it looks nice really thank you all ! "big up" Tony ;) Th. - Original Message