You might want to take a look at:

Specifically, get_cfg_var(), ini_get(), and ini_get_all()


At 10:08 AM -0700 5/23/02, Dennis Gearon wrote:
>What I was trying to do was to find out how to get magic_quotes_sybase
>config value. This will do it:
>     $test = addslashes("'");
>     $this->sybase_magic  = strcmp( $test, "\\'");
>Also, I looked up eval(), it doesn't return the output of all fucntions
>like I thought. I would have to use system, the backticks, invoke php as
>a one time interpreter, OR, have a page that I call that has the
>appropriate version of PHPINFO in it, and call that page and process the
>returned call, from with in the current script.
>Dennis Gearon <[EMAIL PROTECTED]> wrote:
>>has anyone tried to eval() php info to prevent it from being displayed
>Lso it could be processed for config checking, instead?
>>Since what version have the 'subsections' of phpinfo() been available,
>>         phpinfo(INFO_CONFIGURATION); ?
>If You want to buy computer parts, see the reviews at:
>PHP General Mailing List (
>To unsubscribe, visit:

| Steve Edberg                                      [EMAIL PROTECTED] |
| University of California, Davis                          (530)754-9127 |
| Programming/Database/SysAdmin      |
| "If only life would imitate toys."                                     |
|                  - Ted Raimi, March 2002                               |
|                  - |

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to