in reply to Check if image file exists
what have you stored in your database a complete sever path like /var/www/project/images/1.jpg or a complete browser path like http://www.yoursite.com/image/1.jpg if its the second one try to get the complete server path and check using if (-e $filename) { print "File Exists!"; }
|
---|
In Section
Seekers of Perl Wisdom