<?
$path="\\\\cdi-test2\\users\\";
echo $path;
$dir=scandir($path);
print_r($dir);
?>出现错误
\\cdi-test2\users\
Warning: scandir(\\cdi-test2\users\) [function.scandir]: failed to open dir: No such file or directory in E:\MYOA\webroot\33.php on line 13Warning: scandir() [function.scandir]: (errno 2): No such file or directory in E:\MYOA\webroot\33.php on line 13怎么样才能访问映射的网络驱动器。
$path="\\\\cdi-test2\\users\\";
echo $path;
$dir=scandir($path);
print_r($dir);
?>出现错误
\\cdi-test2\users\
Warning: scandir(\\cdi-test2\users\) [function.scandir]: failed to open dir: No such file or directory in E:\MYOA\webroot\33.php on line 13Warning: scandir() [function.scandir]: (errno 2): No such file or directory in E:\MYOA\webroot\33.php on line 13怎么样才能访问映射的网络驱动器。
解决方案 »
- 为什么不能对正则匹配的值进行大写转换呢?
- phpmyadmin怎么管理服务器里的MYSQL数据库
- PHP中的多条件同时搜索
- php如何判断用户打是www.mysite.com还是www.mysite.com/index.php
- php 生成静态文件,在本地是好的.为何放到服务器就出错下面错误...
- mysql bigint类型字段值怎么会自动变化?
- 南京地区招聘PHP程序员
- mysql数据库不能添加单字节记录是怎么回事啊???
- thinkphp3.1 多文件上传图片和文档,怎么保存在不同的文件夹?
- 谁知道哪里有第三方在线聊天的插件
- 可否帮忙写一个单页页的PHP采集程序,并附上实例
- php调用java WebService
<?
$path="X:\\";
echo $path;
$dir=scandir($path);
print_r($dir);
?>出现错误
X:\
Warning: scandir(X:\) [function.scandir]: failed to open dir: No such file or directory in E:\MYOA\webroot\33.php on line 13
Warning: scandir() [function.scandir]: (errno 2): No such file or directory in E:\MYOA\webroot\33.php on line 13
朋友您好!我现在也遇到这个问题,急需解决,困扰我好久了。请你帮忙解答万分感谢哈!!A机器为172.16.2.1,B机器为172.16.2.2,我的web服务器装在A机器上,需要通过PHP访问B机器上的某图片文件image.png。应该怎么操作啊?你说可以用盘符映射,我试了,不行啊映射的盘符在PHP代码里应该怎么写呢?我写Z:\\不对啊肯定大侠帮帮忙啊!!