File Uploads
File uploads are probably one of the things that new coders get worried about, and it is actually very simple. PHP has made vast inroads into supporting file uploads, and you can upload a file with just a few small lines of code.
In this article, I'm going to go through some simple things you should consider when uploading files, and some common mistakes made.
Uploading a file
Uploading a file is very easy. You need to add two things to your form. The first is to provide the correct enctype in the form tag, and the other is to have a file select input box:
Continue Reading 3 comments April 5th, 2006