try using this, from php manual, clive

<?php

echo filetype('/etc/passwd');  // file
echo filetype('/etc/');        // dir

?>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to