PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
sami1255
Forum Newbie
Posts: 1 Joined: Wed Sep 24, 2008 6:57 pm
Post
by sami1255 » Wed Sep 24, 2008 7:01 pm
am kinda <span style='color:blue' title='I'm naughty, are you naughty?'>smurf</span> off caus of this
which caused me join this forum
Am looking the way to display server information (on which the site is hosted) on the web page.. like;
Running On (Operating System Name) (Apache/IIS) (PHP Version) (MySql) (How many SQL queries took place)
i know almost all these can be viewed using phpinfo() but how to crop the info i needed?
Christopher
Site Administrator
Posts: 13596 Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US
Post
by Christopher » Wed Sep 24, 2008 7:38 pm
Look at phpinfo(). At the bottom if give all the values contained in the $_SERVER superglobal array.
(#10850)