using file_exists()...
looking in this directory: /home/flexiss/public_html/idx/cren
for this file: cren580780.jpg
its there