in reply to Re: How to check If file exists?
in thread How to check If file exists?

Unless you (OP) have a dot in front of all the filenames (possible,but not likely), you'd probably want to drop the dot.
if ( -e "$path$imagename")
Update: As Enlil, I too missed the URL fact...

--
B10m