slonison
09-12-2007, 02:58 AM
Ok, I've been having this problem for quite a long time and all my result is turning up null results. Perhaps the masters here can help me out.
I'm trying to create a php script which will search a folder on the network and return to me a list of the files in the directory. I cannot even opendir() the folder let alone get any information about the files inside the directory.
$dir2scan = "//G169/Games";
opendir($dir2scan);
With this code I end up getting the error:
Warning: opendir(//G169/Games) [function.opendir]: failed to open dir: Result too large in F:\xampp\htdocs\sf_all.php on line 68
I have researched this error but to no avail.
BTW: This code works without problem if I set:
$dir2scan = "//servername/Games";
where server name is the name of the computer that xampp runs off of.
please help me out guys.
I'm trying to create a php script which will search a folder on the network and return to me a list of the files in the directory. I cannot even opendir() the folder let alone get any information about the files inside the directory.
$dir2scan = "//G169/Games";
opendir($dir2scan);
With this code I end up getting the error:
Warning: opendir(//G169/Games) [function.opendir]: failed to open dir: Result too large in F:\xampp\htdocs\sf_all.php on line 68
I have researched this error but to no avail.
BTW: This code works without problem if I set:
$dir2scan = "//servername/Games";
where server name is the name of the computer that xampp runs off of.
please help me out guys.