note 43350 added to function.file
| From: | kangaroo232002 at yahoo dot co dot uk | Date: | Fri, 18 Jun 2004 09:03:11 +0000 |
| Subject: | note 43350 added to function.file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-71283@lists.php.net to get a copy of this message | ||
Instead of using file() for parsing ini / conf files, as shown in mvanbeek at supporting-role dot co
dot uk's example below (above?), a great function that puts all your conf info into an
associative array is parse_ini_file($filename); very useful !
ian.
----
Manual Page -- http://www.php.net/manual/en/function.file.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+43350
Delete -- http://master.php.net/manage/user-notes.php?action=delete+43350&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+43350&report=yes
Search -- http://master.php.net/manage/user-notes.php