我有一个在两个平台上运行的应用程序,即。net和php。该产品是从。net(windows)服务器创建的,并保存在php(linux)服务器上。我想以编程方式复制该文件,但当我访问该文件时,它失败了。没有权限。在创建和访问时,我们给了双方777权限。有人知道解决方法吗?
http://www.php.net/chmod
Attempts to change the mode of the specified file to that given in mode.
试试这个-备份你的。htaccess文件并把它写在你的。htaccess-
# enable directory browsing
Options All +Indexes
order deny,allow
allow from all