You are here: copy()-problem over a network « PHP Programming Language « IT news, forums, messages
copy()-problem over a network

Posted by Marcel on 01/02/06 09:49

Hello,
I have a problem with accessing files on other computers in my network.
The network is a Windows 2000 workgroup network and I have administrator
rights....

This works (from the directory copytest I copy something to copytest2):

<?php
copy('05_17340.jpg', 'D:\\copytest2\\test.jpg');
?>

The next bit does not do the job (from the same directory to a networked
one):

<?php
copy('05_17340.jpg', 'V:\\copytest2\\test.jpg');
?>
It gives me the following message:
Warning: copy(V:\copytest2\test.jpg): failed to open stream: Permission
denied in D:\localweb\copytest\copytest.php on line 2
(\\\computername\\sharename gives the same message).

Any thoughts on this?
Thanks,
Marcel

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация