quote:
Originally posted by Chris Boulton
By the way, the way you are looping over the directory is bad. You should be using:
code:
while ($file = readdir($dir_handle)) !== false) {
while ($file = readdir($dir_handle)) !== false)
Two '(' were and and then you close 3? Mind explaining why? And also what would
!== false do

?
quote:
Originally posted by Dempsey
But that error is nothing todo with your script, you can ignore it.
You mean to say that my code has no mistakes

?