![]() |
|
|
Thread Tools |
|
#1
|
|||
|
|||
|
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 ... leased: ) 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
What's the difference ??? Thanks Bye No members have liked this post.
Last edited by Jawelin : 10 Mar 2002 at 11:44. |
|
#2
|
||||
|
||||
|
http://www.php.net/manual/en/function.phpinfo.php
example: phpinfo(2) will show you only the credits. ![]()
__________________
Floren Munteanu Axivo Inc. Axivo Community - Visit the forums to find out more about us Why Queued - My personal blog No members have liked this post.
|
|
#3
|
||||
|
||||
|
To capture the output of phpinfo():
__________________
Chen Avinadav Formerly vBulletin.org Owner and Founder chen@avinadav.com No members have liked this post.
|
||||
|
#4
|
|||
|
|||
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... No members have liked this post.
|
|
#5
|
||||
|
||||
|
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.
__________________
Chen Avinadav Formerly vBulletin.org Owner and Founder chen@avinadav.com No members have liked this post.
|
|
#6
|
||||
|
||||
|
Re: Phpinfo() and Global Vars
No members have liked this post.
|
|
#7
|
|||
|
|||
|
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 No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Phpinfo and MySQL info (Admin cp integration) | Brad | vBulletin 2.x Full Releases | 12 | 04 Jan 2005 09:04 |
| Global phpinfo with admin cp on/off switch (vb3 backport) | Brad | vBulletin 2.x Full Releases | 6 | 18 Jul 2003 15:34 |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Thread Tools | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 10:51.

leased: ) Could I even redirect the output of phpinfo(parameter), for example ?


