RE: [PHP-WIN] searching for a file
| From: | Asendorf, John | Date: | Mon, 10 Sep 2001 17:59:16 +0000 |
| Subject: | RE: [PHP-WIN] searching for a file | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-9299@lists.php.net to get a copy of this message | ||
$file = "foo.jpg";
if ( file_exists ( "D:/bar/$file" ) ) {
//DO SOMETHING
}
---------------------
John Asendorf - jasendorf@lcounty.com
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631
Aliquando et insanire iucundum est
> -----Original Message-----
> From: afan [mailto:afan@sprout.net]
> Sent: Monday, September 10, 2001 4:52 PM
> To: Php-Windows@Lists.Php.Net
> Subject: [PHP-WIN] searching for a file
>
>
> Hi to all,
> how can I search folder with images for the image
> some_name.jpg and find
> does it exist or not?
>
> Thanks for any help!
>
> Afan
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>