Using scandir() in a Novell Netware Volumen or a Windows Shared Folder

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
Im having problems when i try to use the function scandir()  in a Novell Netware Volumen or a Windows Shared Folder
they both are mapped as a windows network drive, so i suppose i could access them as local drive, but i can't. instead i receive this message:

Warning: scandir(R:\) [function.scandir]: failed to open dir: Invalid argument in C:\WebServ\wwwroot\htdocs\index.php on line 3
Warning: scandir() [function.scandir]: (errno 22): Invalid argument in C:\WebServ\wwwroot\htdocs\index.php on line 3


this is the script:

 <?php
  $dir = "R:\\";                        //Some Windows Network Drive (Novell Netware Volumen or a Windows Shared Folder)
  $files1 = scandir($dir);
  print_r($files1);
 ?>

i' am logged to novell as a administrator (testing only)
if i use scandir() in a local drive it works fine for example
scandir("D:\\")
so i guess it's not a security problem 

i have appache server 2.0 installed on a WXP SP3 workstation (only for testing) and a Novell Netware Server v5.0 used as a File Server, PHP 5.0.2

i have read some message posted before on the list, suggesting to go and search in google before asking help to the list. 
I wish i could do that, i live in Cuba and i DON'T!!!!  have access to the internet :-((  :-((  :-((
 

sorry for my english.

Saludos,
Dedel.


---------------------------------------
    Red Telematica de Salud - Cuba
    	  CNICM - Infomed

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux