Hello all,
I've currently got the following as my image finding script, but it's not very effective.
PHP Code:
<?php $filename = 'whatever.gif'; if (file_exists($filename)) { echo "The file $filename exists"; } else { echo "The file $filename does not exist"; } ?>
I repeat it like 50 times on a page, so as to search different images all at once to see if they exist.
If you could, I'd like some help to check for an image's existance via a form (and dropdown boxes).
I'd like two dropdown boxes, so:
[box1] [box2] [SUBMIT] would check to see if the file: http://images.example.com/imagefolder/[box1]_[box2]_image.gif exists. If you understand?
Many thanks for your help!
Sam
PS:
Also, just as a sidethought; if this would allow you to select multiple options from dropdown box2, and search for those, all at the same time, that'd be splendid (but I'm not sure as to how possible that is).  Much loves.
Last edited by Samuel; 08-12-2007 at 03:58 PM..
|