Page 1 of 1

Storing system information into MYSQL using PHP

Posted: Tue Aug 26, 2008 9:03 pm
by kalp1200
Hi everyone

Just wanna ask if is the following possible and how to about doing it

a) Is there a way the php code can be designed to access system information like
- Hard disk size
- Amount of memory
- Processor type
- OS installed
- Ethernet type ( LAN mac address )
( I need it in detail,as in, if its OS type, I need the code to retrieve the license type, and so on )

is it possible, and I want this to be stored in the database

Re: Storing system information into MYSQL using PHP

Posted: Tue Aug 26, 2008 10:03 pm
by Christopher
Some of that information is available in the superglobal $_SERVER variable. The rest you can get using exec(). I would recommend the PHP manual to you.

Re: Storing system information into MYSQL using PHP

Posted: Tue Aug 26, 2008 11:44 pm
by Zoxive
Just a side note, the only information like this you can get is from the server.

The only information you can get from the client is from what the browser as request headers.