note 17388 added to function.filetype
| From: | fernandohu at zipmail dot com dot br | Date: | Thu, 06 Dec 2001 16:00:14 +0000 |
| Subject: | note 17388 added to function.filetype | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-21715@lists.php.net to get a copy of this message | ||
It's important not to forget, to pass the correct path.. = DIRECTORY + FILE + EXTENSION.
In another day, I was just getting big troubles with this.. I made a function that had to get all
files in Directories and Sub Directories.. And It wasn't working...
But was because I was forgetting informing the directory.
If you do not want to pass the full path, you also can use CHDIR(DIRECTORY) to choose de current
path, and then use FILETYPE.
--
http://www.php.net/manual/en/function.filetype.php
http://master.php.net/manage/user-notes.php?action=edit+17388
http://master.php.net/manage/user-notes.php?action=delete+17388
http://master.php.net/manage/user-notes.php?action=reject+17388