Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Check if image file exists

by mendeepak (Scribe)
on Apr 10, 2012 at 05:57 UTC ( #964251=note: print w/ replies, xml ) Need Help??

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 if its the second one try to get the complete server path and check using if (-e $filename) { print "File Exists!"; }

Comment on Re: Check if image file exists

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://964251]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2015-11-25 10:03 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (672 votes), past polls