Hi,
just a simple question for perl freaks:
I know how to check if a file exists on the server:
if (-e "/usr/local/etc/httpd/htdocs/pictures/$picture.jpg") {
How could i check, if the image exists as .jpg or as .gif?
Thanks for hints!
just a simple question for perl freaks:
I know how to check if a file exists on the server:
if (-e "/usr/local/etc/httpd/htdocs/pictures/$picture.jpg") {
How could i check, if the image exists as .jpg or as .gif?
Thanks for hints!