how i get the hardware and software information in php script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • akilandanageswari
    New Member
    • Dec 2009
    • 1

    how i get the hardware and software information in php script

    how i get the hardware and software information using php script in windows operating system
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    you can probably get the most from calling phpinfo().

    Comment

    • Dheeraj Joshi
      Recognized Expert Top Contributor
      • Jul 2009
      • 1129

      #3
      you can probably get the most from calling phpinfo().
      Will this function give the hardware information.?

      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

      • Dheeraj Joshi
        Recognized Expert Top Contributor
        • Jul 2009
        • 1129

        #4
        Probably you can use system( ) function.

        Quote by php.net
        system() 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.
        Regards
        Dheeraj Joshi

        Note:
        You must be able to get Hardware information by executing some commands, Google it.

        Comment

        Working...