PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I am new to php, but have been programming (mostly Java) for the last 10 yrs. I just setup a site on go daddy, which doesn't have java server side support and now trying to pick up php.
What I want to be able to do is store and retrieve wav files. I guess I am looking to get pointed in the right direction. Is it better to store the wav in mysql or to store an id and store the file local? Can I even do this on a non dedicated go daddy server? Any thoughts to get me going would be great!
The advantage of keeping wav files in the database is that they can only be accessed using the database user-name and password. But if you want users to be able to download the iles, this may not be important. The big disadvantage is that the files will use up a large amount of memory within the db. If the web host limits the size (MB) of database which you can have, it may be best to store the files in a separate folder, and keep only the file names and other relevant details in the database. This is what most podcasters etc do.