|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||||
|
|||||
|
File_Find returns an empty array
I've got some code that uses File_Find enumerate the contents of a directory tree and build a web page listing the contents in a tree format. The code works fine everywhere I've tested it except on one Windows 2003 Server box where it's returning an empty array. Other file system enumeration code works fine on that system, so it's not a permission issue. Here's a version of the code that's not working:
php Code:
I'm not relying on any system-installed PEAR libs and instead am including my own in the core/ directory. I'm using File_Find version: Find.php,v 1.27 2006/06/30 14:06:16 I'm using Pear.php $Id: PEAR.php,v 1.98 2006/01/23 05:38:05 Thanks, Tim |
|
#2
|
||||
|
||||
|
RE: File_Find returns an empty array
Where the other boxes *nix boxes? maybe it is using the *nix boxes glob program to find the files.
|
|
#3
|
|||
|
|||
|
RE: File_Find returns an empty array
It works on Windows 2000 w/IIS 5 and RH Linux w/Apache. It seems to work on some Windows Server 2003 systems but not all.
I've written other code to solve my needs. So, I'm not going to spend any more time getting the PEAR code to work. Thanks for your thoughts, though. Tim |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PEAR Packages > File_Find returns an empty array |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|