Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Developing a Modular Class For a PHP File Uploader
Apr 16, 2008 @ 13:28:49

DevShed has posted the final part of their series looking at the handling of file uploads in PHP5. This last installment shows how to take what yuou've learned so far and make things a bit more modular.

At this stage, you've hopefully recalled how to build an expandable file uploading application with PHP 5 that uses only one custom function to transfer a target file from a client machine to a predefined web server. However, in the beginning, I said that I was going to teach you how to develop a brand new file uploading application using an object-oriented approach.

The finish off the FileUploader class they were working on previously and show some testing examples of it in action.

tagged: modular object file upload handler tutorial