Web студия "GrandView"
  Главная   Написать Контакты
   
   
О проекте
Руководство php
 

DirectoryIterator::getType

(no version information, might be only in CVS)

DirectoryIterator::getType --  Get file type

Description

string DirectoryIterator::getType ( void )

Внимание

К настоящему времени эта функция еще не была документирована; для ознакомления доступен только список аргументов.



add a note add a note User Contributed Notes
DirectoryIterator::getType
boards at gmail dot com
09-Apr-2006 09:09
Note that this function returns the file type (e.g. "file", "dir", etc.) and not the MIME type.  To do that, you might want to use this:
<?php
for
(
 
$dir = new DirectoryIterator('/some/directory');
 
$dir->valid();
 
$dir->next()
)
{
 
$mime = mime_content_type($dir->getPathname());
}
?>

DirectoryIterator::isDir> <DirectoryIterator::getSize
Last updated: Fri, 26 Jan 2007
 
 
Новости
11 июля 2007
Сайт запущен
© 2007 info@grandviewstudio.com

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/sites/grandviewstudiocom/www/65f67d67a94ad980786580ae69e11c07/sape.php on line 324

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/sites/grandviewstudiocom/www/65f67d67a94ad980786580ae69e11c07/sape.php on line 330
Z058440144362 Z348613067571