是字符串处理吗?
$path=str_replace('D:\HiLite\htdocs\phpdisk','http://127.0.0.1/',$path);
$path=str_replace('/','\',$path);如果不是的话,请说明问题.
$path=str_replace('D:\HiLite\htdocs\phpdisk','http://127.0.0.1/',$path);
$path=str_replace('/','\',$path);如果不是的话,请说明问题.
本机是主机名 ( IP:port ) 127.0.0.1 (127.0.0.1:80)
服务器软件 Apache/2.2.4 (Win32) PHP/5.2.3
网站主目录 D:/HiLite/htdocs
Other Links phpinfo() | hiwind.cn --------------------------------------------------------------------------------
PHP 组件支持
Zend Optimizer Yes / 3.3.0
MySQL 支持 Yes / 5.0.37
GD library Yes / bundled (2.0.34 compatible)