Hi There,

<?

$dir_to_check = "/this/dir";

if (!is_dir($dir_to_check)) {
    echo "No directory here";
} else {
    echo "Bingo.";
}

?>

James.

""Scream"" <[EMAIL PROTECTED]> wrote in message
9drq8v$ngb$[EMAIL PROTECTED]">news:9drq8v$ngb$[EMAIL PROTECTED]...
> Hi,
>
> I've got a one simple question. How I can check directory exist or not ?
> Plz, help me :) TIA !
>
>
> --
> regards, - scream ->> scream(at)w.pl
> |||| ICQ#46072336 ||| GG#480681 ||||
> <<< Artificial Reins Productions >>>
>
>
> --
> PHP General 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 General 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]

Reply via email to