Problem on OpenDir()
| From: | Jack | Date: | Mon, 25 Nov 2002 10:20:38 +0000 |
| Subject: | Problem on OpenDir() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-125910@lists.php.net to get a copy of this message | ||
Dear all
here is the path i want to open for reading files from it!
path = "c:/pdf_reports/bills/Oct-02"
i always got returned with these error :
" Warning: OpenDir: Invalid argument (errno 22) in c:/page.php on line 21"
"Warning: Supplied argument is not a valid Directory resource in c:/page.php
line 22"
but
when i change the path to : "c:/pdf_reports/bills/"
then
it can list all the files within this folder "bills".
I'm sure that the folder Oct-02 is exist inside bills directory! So i
haven't go any idea!
Could someone pls give me some hints!
Jack