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!
The title describes it. I am trying to make a music upload. I got some picture upload from w3 I think it was, but I can't get it modified to allow music. Also, how would I add a loading bar?
print this information $_FILES["file"]["type"] to see what you are uploading. In your code your are only allowing images: image/gif,image/jpeg,image/pjpeg.
Just remove those checks. But be careful when uploading files. You could actually upload a php file that could be executed by a remote attack.