Page 1 of 1

php audio player

Posted: Thu Feb 08, 2007 9:30 pm
by twiztedazn
i have an idea for a php audio player. i was going to put a file with the file names, and read in the file and put it into an array. but i don't know how to put the buttons. i know java, and how that works. is it the same as php? because the buttons that i've worked with refreshes the whole page. can someone help me out here?

thx

Posted: Thu Feb 08, 2007 10:13 pm
by superdezign
PHP is a server-side language. Javascript is client-side. The difference is that PHP can't make live changes, only dynamically generate the code. Javascript can react to user events, like clicking a button.

Posted: Fri Feb 09, 2007 6:44 am
by Jenk
Flash or a Java Applet would be the solution.

Posted: Fri Feb 09, 2007 7:16 am
by choppsta
Something like this good be useful to you:
http://www.ajaxian.com/archives/soundma ... javascript