Re:phpinfo

From: Date: Thu, 23 May 2002 17:08:44 +0000
Subject: Re:phpinfo
Groups: php.general 
Request: Send a blank email to php-general+get-98947@lists.php.net to get a copy of this message
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 <gearond@cvc.net> 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/

« previous php.general (#98947) next »