$file = "foo.jpg";
if ( file_exists ( "D:/bar/$file" ) ) {
//DO SOMETHING
}
---------------------
John Asendorf - [EMAIL PROTECTED]
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:[EMAIL PROTECTED]]
> Sent: Monday, September 10, 2001 4:52 PM
> To: [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]