Search found 3 matches

by marx
Fri May 09, 2003 8:48 am
Forum: PHP - Code
Topic: open/read-dir problems...
Replies: 5
Views: 2635

Finally managed to get the code working on my own, but found some new goodies in that last snippet of coda that Volka posted. However, that one also listed the "dummy/.DS_Store - 6148"-file. Also found an old post telling how to sort by date. Wicked.

Thanks a bunch!

MARX
by marx
Fri May 09, 2003 7:02 am
Forum: PHP - Code
Topic: open/read-dir problems...
Replies: 5
Views: 2635

Thanks, guys. Did some modifications to the script, and now it manages to open the dir, but don´t print the filenames! It gets the right number of files though... Another thing; the "Parse error on line number X"-message keeps on changeing although I haven´t have made changes to the script...
by marx
Thu May 08, 2003 8:02 pm
Forum: PHP - Code
Topic: open/read-dir problems...
Replies: 5
Views: 2635

open/read-dir problems...

Hi there. Got some serious problems with the following code. I just want to list the filenames and filesizes in the subdirectory "dummy" but get an error on line 2, $open = opendir("dummy"); - what´s the story? Have tried dummy/ - /dummy/ - and all kinds of things... <?php $open ...