RE: [PHP-DB] Can't copy file to another server
| From: | Karen Resplendo | Date: | Fri, 24 Oct 2003 16:00:47 +0000 |
| Subject: | RE: [PHP-DB] Can't copy file to another server | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-31294@lists.php.net to get a copy of this message | ||
Gonna have to check that one. Who gets this permission might I ask? I'm told the PHP process is
running under Administrator, so . . . . . . . . .is there any way to tell for sure?
(by the way, your posts come through as triplicates)
N.A.Morgan@bton.ac.uk wrote:
A simple thing, but do you have wrte permission on your drive F: from the
web server?
-----Original Message-----
From: Karen Resplendo [mailto:karenresplendo@yahoo.com]
Sent: 23 October 2003 22:18
To: jeffrey_n_Dyke@Keane.com
Cc: php-db@lists.php.net
Subject: Re: [PHP-DB] Can't copy file to another server
Nope. Already tried that.
Warning: Unable to create 'F:/portlandApr05-08-2002.txt': Permission
denied in C:/Program Files/Apache13 14/Apache/htdocs/file_upload.php3 on
line 172
jeffrey_n_Dyke@Keane.com wrote:
do you just need a /
$AcceptedFolder= 'F:/';
Karen Resplendo
ahoo.com> cc:
Subject: [PHP-DB] Can't copy file to another server
10/23/2003 02:22
PM
Apache on Windows web server.
After file upload and validation I would like to copy it to a folder on a
Win 2K Server machine.
We have created the folder and shared it and mapped a drive(F:) on the
Webserver to it:
$AcceptedFolder= 'F:';
$AcceptedFileAndPath=$AcceptedFolder.$HTTP_POST_FILES['userfile']['name'];
copy($uploadfileandpath,$AcceptedFileAndPath);
We get this error:
Warning: Unable to create 'F:Apr05-08-2002.txt': Permission denied in
C:/Program Files/Apache13 14/Apache/htdocs/file_upload.php3 on line 165
Sure could use some help.
---------------------------------
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
---------------------------------
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
---------------------------------
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search