你这个是外部访问,不是 PHP 访问的
正解参见 SOhttp://stackoverflow.com/questions/5070545/php-read-file-contents-of-network-share-file
mount -t cifs //10.173.32.4/myshare /www/htdocs/myshare
然后
$data = file_get_contents('/www/htdocs/myshare/file.txt');