News Feed
Jobs Feed
Sections




News Archive
PHPBuilder.com:
File uploads made easy
September 03, 2007 @ 11:28:00

PHPBuilder.com has a new tutorial posted to help you create a more complete file upload solution for your web application.

Every time I've written some code to upload a file, either to send it off as an email attachment or as an image for some dynamic content piece, I've always meant to write a few functions so I don't have to write the code again. [...] So I *finally* sat down and wrote this script.

They go through the settings first including the path to put the files in, types that are known and the ones that are allowed. Then its on to the code that creates the form field and handles the upload and validates it. You can download the code for the tutorial here.

1 comment voice your opinion now!
file upload tutorial validation type allow file upload tutorial validation type allow


blog comments powered by Disqus

Similar Posts

NetTuts.com: Namespacing in PHP

DevShed: Using Self-Saving Objects with Command Objects in PHP 5

NetTuts.com: Advanced CodeIgniter Techniques and Tricks

IBM developerWorks: Understanding the Zend Framework, Part 1: The basics

Michael Feichtinger's Blog: HTML5 WebSockets Example


Community Events











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


opinion series tool language introduction object community framework development zendframework2 unittest phpunit application testing functional podcast example interview release code

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