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

Codewalkers.com:
An Intro to Uploads
Sep 29, 2003 @ 12:23:36

From Codewalkers.com this morning, there's a new piece that is made just for anyone out there having issues with uploading files through forms and PHP. This new tutorial starts at the beginning, explaining every step of the way.

In Uploading Files with Forms and PHP, the author starts with a simple form, showing the HTML side (the easy part) first. This foundation is then built upon with a few blocks of PHP code to handle the file that has been submitted. They include a little checking into the example, to make sure you don't overwrite a file already in place, and show you how to move the uploaded file to the location of your choosing.

I'd suggest this tutorial for anyone out there just getting started with PHP, and wanting to create an easy way to move files up to your web server without the hassle of making your users FTP files in.

tagged:

Link:


Trending Topics: