class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
First, you need to set the PHP limits properly (memory, upload, etc...), as well as the maximum size in the upload class.
Now, it is strongly discouraged to store files in a database, especially such large files. It would be really better to store the files on disk, and the filename in the database. Your database will collapse under the weight of all these BLOB files, and be very slow. This said, it's up to you.
What are the errors that you have? Are they from PHP, from the class?Reply
Now, it is strongly discouraged to store files in a database, especially such large files. It would be really better to store the files on disk, and the filename in the database. Your database will collapse under the weight of all these BLOB files, and be very slow. This said, it's up to you.
What are the errors that you have? Are they from PHP, from the class?