Re: [PHP] Problem on OpenDir()

2002-11-27 Thread Joakim Andersson
Jack wrote: Dear Joakim First of all, thx for the reply and here is the code : "); } } closedir($handle); file://check if the directory exist for last month file://Folder's Name $folder=date("M",mktime(0,0,0,$previousmonth,1,$currentyear)); $dirname="Oct-02"; if (is_dir("Oct-02")) { print ("G

Re: [PHP] Problem on OpenDir()

2002-11-25 Thread Joakim Andersson
Jack wrote: Dear all here is the path i want to open for reading files from it! path = "c:/pdf_reports/bills/Oct-02" Here you have no trailing / --- Snip --- when i change the path to : "c:/pdf_reports/bills/" But here you do... It should not make a difference as far as I know, but it may be w