I have a php script that loads a shopping cart, and some html img src tags for images. Is there a way I can way I have it reported to me when an image does not appear, or is no longer there and produces a red X?
Hi, You can use a php image loader instead of image directly:
<img src="loadban.php?realname=myimg1.gif">
in loadban.php you try to load the image. If fail put on output a red X...
may be a way?
u could probly use file functions to check and see if the file is there, if the file exhists show the image, else, add an error or send an email or whatever telling you which picture doesn't exhist?
I figured it out... it's the second one.
good to hear 🙂