note 28854 added to function.opendir
| From: | webmaster at rack1 dot php dot net | Date: | Sun, 26 Jan 2003 06:25:07 +0000 |
| Subject: | note 28854 added to function.opendir | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-42753@lists.php.net to get a copy of this message | ||
in response to luciano_em_BrazilianTranslation.net's comment:
it is much cleaner to simply use:
opendir(".");
rather than use an undefined variable as you suggested:
opendir($blahblahblah);
---
this makes the code much easier to debug if someone else needs to figure it out.
--
http://www.php.net/manual/en/function.opendir.php
http://master.php.net/manage/user-notes.php?action=edit+28854
http://master.php.net/manage/user-notes.php?action=delete+28854
http://master.php.net/manage/user-notes.php?action=reject+28854