Re: [Fwd: [PHP-GENERAL] copy()]
| From: | David Robley | Date: | Mon, 26 Jun 2000 02:38:02 +0000 |
| Subject: | Re: [Fwd: [PHP-GENERAL] copy()] | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-3063@lists.php.net to get a copy of this message | ||
On 25 Jun, Tijmen Hennink wrote:
> Tijmen Hennink wrote:
>
>> Jonas Jochum wrote:
>>
>> > -----BEGIN PGP SIGNED MESSAGE-----
>> > Hash: SHA1
>> >
>> > Am 25.06.00 um 16:17 hat Tijmen Hennink geschrieben:
>> >
>> > TH>The complete path is /www/htdocs/test/dirname version 2/lwq.html
>> > TH>PHP4 seems to refuse this destination with the following error.
>> > TH>Unable to create '/www/htdocs/test/dirname version 2/lwq.html': No
>> > TH>such
>> > TH>file or directory in Object.php3 on line 517
>> >
>> > you might want to try "/www/htdocs/test/dirname\ version\ 2/lwq.html"
>> >
>> > - --
>> > MfG,
>> > Jonas Jochum
>> >
>> > commandline net services
>> > - -------------------------------------------------------------------------
>> > tel: 07223-911794 | cmd:~ # Systemadministration, Netzwerkverwaltung
>> > fax: 07223-911795 | cmd:~ # Einrichtung von *BSD/Linux-Servern
>> > d2 : 0173-5712481 | cmd:~ # Datenbank/Internetprogrammierung
>> > jj@commandline.de | cmd:~ # Webdesign
>> > www.commandline.de |
>>
>> I've tried it but no result.
>> It's very strange because when I cd to that dirname you can see the syntax
>> you've subscribed above but PHP is still complaining that the file can't be
>> copied.
>>
>> Tijmen
You also need to make sure that the user that your web server runs as
(usually nobody) has the appropriate permissions in the directory tree
where the copy is being made.
Cheers
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA