quote:
Originally posted by Felu
Can you tell me what the error is (Smilie)? I'll look into it after I come back, have an appointment with the Dentist.
Possibly you don't attach the path to $file.
Cookie: That means all of your hashes are bad.
Above this:
code:
if(!is_dir($file)){
Add:
code:
if(!is_dir($path."/".$file)){
(Assuming he changed the path he was using)
By the way, the way you are looping over the directory is bad. You should be using:
code:
while ($file = readdir($dir_handle)) !== false) {