What are the limitations of using PHP to access network PCs and shared files?

One limitation of using PHP to access network PCs and shared files is that PHP may not have the necessary permissions to access these resources. To solve this issue, you can use the `exec()` function in PHP to run shell commands that have the required permissions to access network PCs and shared files.

$output = shell_exec('net use Z: \\\\networkPC\\sharedFolder /user:username password');