PHP File Upload
Posted by: toby
Posted on: 2004-12-29 17:52:00
My aim is to build a website with PHP that provides an admin area where photo (JPG) files can be uploaded via a HTTP form into the website along with data that will be stored in a database. I don't want the user of the admin area to have to resort to FTP to upload the picture files.
I got all of this working on my own test server at home, but when I uploaded the code to DreamHost, the HTTP form file upload facility did not work. I tried chmod on the file upload directory, but that did not make any difference. I think that DreamHost have configured a temp directory in PHP for uploads, then denied write access to it.
Does anyone know whether HTTP form file upload with PHP can be achieved on the DreamHost web servers?