How would I go about making a script that displays an image depending on whether a site is up or down?
fopen() if by site you mean http or ftp