I'm back!!
I'm looking for info on how to look in a file,
see if an image exists,
if it does, print this,
if not, print that.
I tried...
open ("/home/racedaze/racedaze-www/images/");
if ($rec{'Itemno'}.gif) {
print qq| <img src="http://www.racedaze.com/pageimage/camera.gif">|;
}
else {
print qq| |;
}
Any ideas?
Thanks,
Chris
------------------
webmaster@racedaze.com
I'm looking for info on how to look in a file,
see if an image exists,
if it does, print this,
if not, print that.
I tried...
Code:
|; open ("/home/racedaze/racedaze-www/images/");
if ($rec{'Itemno'}.gif) {
print qq| <img src="http://www.racedaze.com/pageimage/camera.gif">|;
}
else {
print qq| |;
}
Any ideas?
Thanks,
Chris
------------------
webmaster@racedaze.com