Test if picture exists then load.
| From: | Dean Householder | Date: | Thu, 10 Jan 2002 10:19:06 +0000 |
| Subject: | Test if picture exists then load. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-80003@lists.php.net to get a copy of this message | ||
I'm not sure what function I need to use, but I want to test if a picture exists in a directory
and if it does to display it but if not display another graphic that says 'No Graphic
Available'.
Would that be fopen()? or something else? I'm still new to PHP so any feedback would be very
appreciated.
Dean