note 49106 deleted from function.substr by victor
| From: | victor@php.net | Date: | Mon, 17 Jan 2005 08:37:55 +0000 |
| Subject: | note 49106 deleted from function.substr by victor | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-83479@lists.php.net to get a copy of this message | ||
Note Submitter: seargentdowjones at yahoo dot com
----
heres a bit of code to remove hidden files (.DS_Store) from an array of file names
$x = 0;
while(isset($files[$x])){
if($files[$x]{0} == "."){
unset($files[$x]);
}
$x++;
}
sort($files);