Re: How to access variables in phpinfo()?
| From: | idban secandri | Date: | Tue, 17 Oct 2000 22:51:07 +0000 |
| Subject: | Re: How to access variables in phpinfo()? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-20725@lists.php.net to get a copy of this message | ||
On Tue, Oct 17, 2000 at 08:35:34PM +0100, Kraa de Simon wrote:
> Hello,
>
> Total newbie...
>
> As a footer I want something like:
>
> "Running with Apache 1.3.12 / PHP 4.0.2 and MySQL 3.22 on Windows NT 5.0"
>
> I see most variables in phpinfo(), but how do I access them all?
>
> Ok, enivironment vars like SERVER_PROTOCOL are easy, but how about the other
> vars like, e.g. the first one: system.
>
> Or the PHP version? MySQL version? And so on...
>
> Thanks!
>
> Met vriendelijke groet / With kind regards,
>
> Simon de Kraa
> ICL Logistic Systems
> Simon.de.Kraa@icl.nl
>
put $ on variable name
e.i
<? echo$HTTP_ENV_VARS["DAEMON"] ?>
--
new era of web counter, Free Emoticon Counter
http://www.click2scripts.com/free