Thread
:
Directory listing using PHP
View Single Post
#
3
(
permalink
)
Apr 2nd, 2008, 08:32
djeyewater
Junior Member
Join Date: Oct 2007
Location: UK
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Directory listing using PHP
Cool, thanks for checking it. The only reason I can see for using
PHP
:
Select all
while(
false
!== (
$file
=
readdir
(
$handle
)))
is so it would work if you have a directory or file named 0 (since 0 evaluates to false but is not identical to false).
djeyewater
View Public Profile
Visit djeyewater's homepage!
Find all posts by djeyewater