Re: Checking for existence of file

From: Date: Tue, 25 Mar 2003 19:32:38 +0000
Subject: Re: Checking for existence of file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-140995@lists.php.net to get a copy of this message
OK, hand slap excepted. I found what I needed. Thanks :) On 3/25/03 2:24 PM, "CPT John W. Holmes" <holmes072000@charter.net> wrote: >> What I'd like to do is check the directory 'images' first to see if >> 'mast_$img_pick.jpg' exists and if it doesn't, call a different image such >> as 'mast_default.jpg'. I'm sure this isn't hard, I'm just not sure >> how to >> start. > > Maybe you can start with file_exists() or is_file() and somehow work from > there??? > > ---John Holmes... > >

« previous php.general (#140995) next »