![]() |
Phpinfo() and Global Vars
How could I read all (each one) the vars displayed in phpinfo() ?
I found somewhere the reference to one or another .... but can't understand the exact difference between global var series. Most of all, where find a complete reference of each global var accessible via PHP code (and hopefully echoable ... :pleased: ) Could I even redirect the output of phpinfo(parameter), for example ? Note: I've already checked the PHP Manual: Predefined variables page, but it isn't complete, as itself said Quote:
What's the difference ??? Thanks Bye |
http://www.php.net/manual/en/function.phpinfo.php
example: phpinfo(2) will show you only the credits. ;) |
To capture the output of phpinfo():
Code:
ob_start(); |
Quote:
Thanks even to FF. Is this the usual PHP redirection method into an object ? Bye P.S.: I updated my original request with some more info, meanwhile... |
It's called Output Buffering or Controlled Output, it's used to capture the output from going to the browser so you can do stuff with it.
|
Quote:
|
Yes, thanks.
But what are the differences between ( in phpinfo() ): - Apache variables - Http header infos - Php vars and how each group of them could be accessed by php ? (I mean with a $.... or associative array...) Thanks again |
All times are GMT. The time now is 03:51 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|