|
|||||||
|
|
readdir説明string readdir ( resource dir_handle)ディレクトリから次のファイルのファイル名を返します。 ファイル名はファイルシステム上に格納されている順番で返されます。 readdir()の戻り値は以下の例のように チェックされることに注目してください。 We are explicitly testing whether the return value is identical to (equal to and of the same type as--see Comparison Operators for more information) FALSE since otherwise, any directory entry whose name evaluates to FALSE will stop the loop (e.g. a directory named "0").
readdir() は、エントリ . および .. を返すことに 注意して下さい。これらを必要としない場合には、次のように取り除いて下さい。 | ||||||
|
|
|
Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account Document on this page is part of "PHP マニュアル". See Index Page for more info about Authorship and Copyright. 1999-2009 Linuxinfor.com. No rights reserved. |