RE: [PHP] how to get config settings?
| From: | Matthias Endler | Date: | Thu, 26 Oct 2000 03:33:48 +0000 |
| Subject: | RE: [PHP] how to get config settings? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-22030@lists.php.net to get a copy of this message | ||
Hi Remigiusz,
> Problem is probably simple if there is some solution.
> I need a value of option track_errors from php.ini in my script.
> I know, that I can look at this file or use phpinfo(), but it does not
> solve my problem, because I need it in the runtime.
> Is there any clever array or variable with values of configuration
> options?
this should solve it.
http://www.php.net/manual/function.get-cfg-var.php
Cheers,
Matthias