Uploading/viewing/downloading of files has become somewhat of a staple in the PHP world today. There are tons of tutorials dealing with the subject. Well, phpBuilder.com takes it a step further with their latest piece.
In File Version Management in PHP the author answers many questions including: What happens when I upload a file that already exists in the remote folder to which you are uploading? Version management can not only help you make more sense of the files on your site, but it can also allow you to update a file or replace a file. Of course, they give you the database schema and all of the code to help you get it all working. With simple functions and easy-to-work-with explainations, this article can provide the building blocks for a quite robust file management application.
Personally, I think something like this show be the norm as far as file uploads go in PHP. It would be very nice if this was all wrapped up in a PEAR class and documented to allow everyone easy access to it...




