简体   繁体   English

删除网络驱动器在PHP文件?

[英]delete file of network drive in php?

I am trying to delete the files of network drive of server machine. 我正在尝试删除服务器计算机的网络驱动器文件。 WIndow Server is installed in the server machine and have it's own C, D drive and have network drive samba (\\10.0.45.31)(z:)> The server machine IP is 10.0.45.22. WIndow Server已安装在服务器计算机中,并且具有自己的C,D驱动器,并且具有网络驱动器samba(\\ 10.0.45.31)(z:)>服务器计算机的IP为10.0.45.22。 Now how can I delete the file of network drive ie z drive using php. 现在我该如何使用php删除网络驱动器(即z驱动器)的文件。 I have used following php script but does not works: 我已使用以下php脚本,但无法正常工作:

unlink("http://10.0.45.31/NewsHoroscope/voice/".$voice);

How can I do this.. need help I am stuck at here 我该怎么办..需要帮助我被困在这里

Unlink using HTTP won't work. 使用HTTP取消链接无效。 Try with z: :) 尝试使用z::)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM