filesize

(PHP 3, PHP 4 )

filesize -- Ler o tamanho do arquivo

Descrição

int filesize ( string nomedoarquivo)

Retorna o tamanho do arquivo, ou FALSE em caso de erro.

Os resultados desta função são guardados em cache. Veja clearstatcache() para mais detalhes.

This function will not work on remote files; the file to be examined must be accessible via the server's filesystem.