News Feed
Sections




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

DevShed:
Defining a Custom Function for File Uploaders with PHP 5
April 09, 2008 @ 09:48:48

On DevShed today, there's a new article in their series looking at creating custom functions to handle file uploads in your application:

I'm going to show you how to wrap the file uploading application built in the previous article of the series into a single custom PHP function. This will turn it into a more maintainable and reusable piece of code.

They review the source built in previous parts of the series and show how to update it with a uploadFile() function that takes all of the logic from before (exceptions and all) and wraps it up into a nice little package that can be reused anywhere.

0 comments voice your opinion now!
php5 file upload custom function tutorial


blog comments powered by Disqus

Similar Posts

Fabien Potencier's Blog: Create your own framework... on top of the Symfony2 Components (part 1)

Lucas Baltes' Site: PHP Museum Visual Timeline

DevShed: Using Directory Iterators and MySQL with Adapter Objects with PHP

Rob Allen: Returning JSON errors in a ZF2 application

PHPMaster.com: Localizing PHP Applications "The Right Way", Part 5


Community Events

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


performance voicesoftheelephpant example laravel community php7 application release framework series version interview api opinion library symfony2 podcast conference introduction extension

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