how i get the hardware and software information using php script in windows operating system
how i get the hardware and software information in php script
Collapse
X
-
Will this function give the hardware information.?you can probably get the most from calling phpinfo().
Regards
Dheeraj Joshi
Note:
Quote by php.net
phpinfo()
Outputs a large amount of information about the current state of PHP. This includes information about PHP compilation options and extensions, the PHP version, server information and environment (if compiled as a module), the PHP environment, OS version information, paths, master and local values of configuration options, HTTP headers, and the PHP License.Comment
-
Probably you can use system( ) function.
Quote by php.net
Regardssystem() is just like the C version of the function in that it executes the given command and outputs the result.
The system() call also tries to automatically flush the web server's output buffer after each line of output if PHP is running as a server module.
If you need to execute a command and have all the data from the command passed directly back without any interference, use the passthru() function.
Dheeraj Joshi
Note:
You must be able to get Hardware information by executing some commands, Google it.Comment
Comment