Page 1 of 1

using rename() on remote pc

Posted: Thu Nov 04, 2004 8:53 am
by pelegk2
i am trying use the rename function and i recive thios message :
Warning: rename(X:\0445110_01.txt,C:\backup\0445110_01.txt): Permission denied in C:\Program Files\Apache Group\Apache2\htdocs\uniprod\readFiles.php on line 43
the things ithat on the remotre pc on the network i gave fall the needed permisions and still it dosent work (n windows 2000)
what to do?
thnaks i nadvance
peleg

Posted: Thu Nov 04, 2004 9:07 am
by markl999
Try using forward slashes instead of back slashes.

Posted: Thu Nov 04, 2004 9:18 am
by pelegk2
bope the same problem

Posted: Thu Nov 04, 2004 2:19 pm
by rehfeld
http://php.net/rename

read the comments