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:
**OR EVEN BETTER COMPILATIONS**!!
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php