File uploading
| From: | Frankie | Date: | Mon, 17 Sep 2001 19:01:03 +0000 |
| Subject: | File uploading | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-9389@lists.php.net to get a copy of this message | ||
I have a problem with the file uploading.
I copied a script from a book on PHP and I followed instructions about the
upload temp dir (upload_tmp_dir = c:/Windows/temp). The script was developed
for an Unix machine and the line is:
@copy("$img1","/usr/local/apache_1.3.12/htdocs/$img1_name") or die...
The book suggests, for Windows machines, to change the root in:
/Apache/htdocs. I tried the program, but an error message appears: "It is
impossible to upload file" (message wrote in die command).
What is the exact command for uploading file?