I want to use PHP to get file from a network driver
<?
$filename = "////MyServer//Share//1.tif";
$handle = fopen($filename, "r");
$contents = fread($handle, filesize ($filename));
fclose($handle);
?>
there is a Warning:
failed to open stream: Permission denied  in D:\web\test.php on line 3

How to resolve the mistake?

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to