JDT |
FREE Downloads |
|
Creating a Simple File Uploader Using PHP - Part 4 |
||||
|
In this series of tutorials we will look at how to develop a simple file uploader using PHP. All of the code is freely available for download (License: GNU GPL) from this link: Download File Uploader. In this tutorial, we will look at how to set the permissions on a folder/directory to enable the file to be stored. In order to allow an uploaded file to be stored in a folder, you need to firstly change the permissions to allow the file to be stored, and then change the permissions back to 755. Here is some code that can be used to change the permissions on a folder.
// Change the permissions on a directory to enable a file to
<- Go to Part 3 Go to Part 5 -> Go back to PHP Tutorials home page Go back to Tutorials home page
|