parsing ini files
| From: | Andrei Popovici | Date: | Wed, 15 Oct 2003 12:33:33 +0000 |
| Subject: | parsing ini files | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-166191@lists.php.net to get a copy of this message | ||
I have a script which reads his configuration from an ini file. For reading
that file I use the parse_ini function. When the ini is written incorectly
the php displays a message that he has encountered a parse error in that
ini. How can I catch that error and display a message of my own?
Andrei.