Well, first of all i want to apologise for my poor english.
My problem is that I have problems accessing net mounts on windows. For
example, if R: is a unit attatched from the internal net and I try to access
it, I get error. The following code is what I'm trying to do to test the
access:
--------------------------------------------------------------------------------------------------
echo "<a href='" . $filename2 . "'> arxiu </a><br>";
if($error=basename($filename2)) echo $error . ": basename<br>";
else echo $error . ": basename<br>";
if($error=disk_free_space('G:')) echo $error . " G: free space<br>";
else echo $error . " G: There isn't free space<br>";
if($error=copy($filename2,'.')) echo "Copy successfull<br>";
else echo $error . " Copy successless<br>";
if($error=is_readable($filename2)) echo "Read successfull<br>";
else echo $error . ": The file cannot be readed<br>";
if($error=file_exists($filename2)) echo "File Exists<br>";
else echo $error . ": The file doesn't exists<br>";
------------------------------------------------------------------------------------
--------------
$filename2 is the path to a file in a net mount.
and the output is:
------------------------------------------------------------
loss_of_supervision: basename
G: There isn't free space
Copy successless
: The file cannot be readed
: The file doesn't exists
------------------------------------------------------------
I try the same code with C: unit and a file inside it and works fine...
There's some kind of bug or it's my server's configuration that is wrong?