[snip]
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?
[/snip]

What is the precise error are you getting? A parse error (with no other
information) indicates that the ini file is not being properly formed.
If you are doing that programmatically you can check the ini file at the
creation stage to prevent the errors. My apologies if I have
misunderstood your problem.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to