Re: Help with scandir()

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

 



Deivys Delgado Hernandez wrote:
Hi,
I'm 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


try using the network path instead :) you have to do this for samba drives on windows too.

$dir = '//machine.local/share/path';

regards,

nathan

ps: many people just don't answer if they do not know

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


[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