When doing a file upload type project in PHP with a MySQL database, the following issues arise:
1) performance and ease: including the file in the actual MySQL database vs. uploading to a directory and storing a reference to the binary file in the database
2) php security: From my tests, it seems that the permission on the folder to which the file is being uploaded must be 777, a real security draw-back!
Anyone have samples of uploads that do not need chmod 777 folders?
Thanks,
Tim