PHP accesses shared files on another computer (Windows7) on the local area network: file_get_contents (' \\\\192.168.1.99\\log$\\log.txt '), prompting for access denied, but can be accessed directly in the resource manager. But another computer can be accessed via PHP.
PHP version is 5.4.18
As with the network map, PHP is not accessible and can be accessed directly in the resource manager.
Hint message: file_get_contents (\\192.168.1.99\callLog$\20130128.txt) [function.file-get-contents]: failed to open stream: Permission denied
Reply content:
PHP accesses shared files on another computer (Windows7) on the local area network: file_get_contents (' \\\\192.168.1.99\\log$\\log.txt '), prompting for access denied, but can be accessed directly in the resource manager. But another computer can be accessed via PHP.
PHP version is 5.4.18
As with the network map, PHP is not accessible and can be accessed directly in the resource manager.
Hint message: file_get_contents (\\192.168.1.99\callLog$\20130128.txt) [function.file-get-contents]: failed to open stream: Permission denied
Direct access to @file_get_contents ($filename);
$filename = 192.168.1.99/log/log.txt
Yes, I can.
Prompt permission denied, permission problem, landlord said another computer PHP can access, then check the permission to run the script to access the shared resources.
has been resolved, make a network map, and then access the source address, but not access to the mapped path. I don't know why.