You might want to take a look at:

        http://www.php.net/manual/en/ref.info.php

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

-steve



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,
>>like
>>         phpinfo(INFO_CONFIGURATION); ?
>>--
>--
>
>If You want to buy computer parts, see the reviews at:
>http://www.cnet.com/
>**OR EVEN BETTER COMPILATIONS**!!
>http://sysopt.earthweb.com/userreviews/products/
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php


-- 
+------------------------------------------------------------------------+
| Steve Edberg                                      [EMAIL PROTECTED] |
| University of California, Davis                          (530)754-9127 |
| Programming/Database/SysAdmin               http://pgfsun.ucdavis.edu/ |
+------------------------------------------------------------------------+
| "If only life would imitate toys."                                     |
|                  - Ted Raimi, March 2002                               |
|                  - http://www.whoosh.org/issue67/friends67a.html#raimi |
+------------------------------------------------------------------------+

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

Reply via email to