PHP Upload: PHP on one drive, upload to another.
Posted on 2004-11-01
Is it possible to use PHP (installed on C:) to upload a file to a different drive on the same machine? (upload to E:)
For some reason, no matter where I define the path to store the image (even the temp image), I never see an image get stored there (temp image or moved image)
I've checked my php.ini and have everything set.
file_uploads = On
upload_tmp_dir = C:\blahblahblah
upload_max_filesize = 2M
I've tried all sorts of tests from simple to complex and I just can't seem to get this image to upload.
what's odd is I can tell it is generating a temporary name for the uploaded file because I store that in a database.
but as I said, I can see no temporary image in the temp folder nor a moved image in the uploads folder.
Any help would be appreciated.