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 have managed to make a file upload script which works great for uploading .zip files but the only problem is that I am wishing for Excel and .doc files to be uploaded also. My protection against other uploads gos like:
if ($_FILES['imagefile']['type'] != "application/x-zip-compressed")
I know that application/x-zip-compressed is for zipped files but what exactly would I use for excel and .doc files?