php audio player

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
twiztedazn
Forum Newbie
Posts: 1
Joined: Thu Feb 08, 2007 9:21 pm

php audio player

Post 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
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post 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.
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Post by Jenk »

Flash or a Java Applet would be the solution.
choppsta
Forum Contributor
Posts: 114
Joined: Thu Jul 03, 2003 11:11 am

Post by choppsta »

Something like this good be useful to you:
http://www.ajaxian.com/archives/soundma ... javascript
Post Reply