News Feed
Sections




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

DevShed:
Retrieving Information on Selected Files with a PHP 5 File Uploader
March 27, 2008 @ 09:31:04

DevShed has continued their series (here's part one) looking at the use of file uploading in your PHP scripts. They build on that foundation and add in some more useful features this time:

The initial script in the first tutorial of this series lacked some important features, such as the implementation of an effective error handling module and the ability to check the MIME type and size of the file being uploaded. In this second installment of the series, I'm going to improve the logic of the script from the first tutorial to provide it with the capacity to retrieve useful information concerning the entire file uploading process.

They look back at the previous tutorial to remind you of some of the concepts and then move on to show you how to get information about the file (like the MIME type, name and size of the uploaded file). The last page is just the full source code for the cut and pasters out there.

0 comments voice your opinion now!
tutorial php5 file upload information mime name size


blog comments powered by Disqus

Similar Posts

Andi Gutmans' Blog: PHP 5 Power Programming passes 1 Million downloads!

JellyandCustard.com: Using DirectoryIterator to List Files in PHP

WeberDev.com: PHP 101 (part 11) - Sinfully Simple (SimpleXML)

Job Posting: Open Source Staffing Seeks a PHP5 Developer (New York, NY)

NetTuts.com: Design Patterns: The Facade Pattern


Community Events





Don't see your event here?
Let us know!


symfony community tool release opinion introduction series list framework library composer security language conference artisanfiles version laravel podcast interview voicesoftheelephpant

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework