PHP Classes

PHP Detect Windows Computer Basic Information: Get system resources of a Windows based computer

Recommend this page to a friend!
  Info   View files Example   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 245 All time: 7,985 This week: 673Up
Version License PHP version Categories
php-detect-computer- 1.0.0GNU General Publi...5PHP 5, Windows, Hardware
Description 

Author

This class can get system resources of a Windows based computer.

It runs the wmic program from a shell command and parses the output to retrieve the details of several types of computer resources.

Currently it can retrieve the value of the operating system details, the CPU, RAM, physical drives, graphics cards, BIOS, printers and network card.

Picture of Hassane Moussa
  Performance   Level  
Name: Hassane Moussa <contact>
Classes: 10 packages by
Country: Niger Niger
Age: 40
All time rank: 21471 in Niger Niger
Week rank: 276 Up1 in Niger Niger Equal
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

Example

<?php
/***************************************************************************************
                                Using Class DetectBasicInfoComputerWin
***************************************************************************************/
ini_set("xdebug.overload_var_dump",1); // to hide path of script with var_dump
require('detectBasicInfoComputerWin.php');

$bInfoComptWin = new DetectBasicInfoComputerWin();

echo
'<center><h1>View basic information about your computer OS Windows With PHP</h1></center>';


echo
'<b>Information About Operating System</b><hr>';
 
var_dump(trim($bInfoComptWin->osystem()));
 
echo
'<b>Information About CPU</b><hr>';
 
var_dump(trim($bInfoComptWin->getCpuInfo()));
 
echo
'<b>Information About RAM Max Capacity</b><hr>';
 
var_dump(trim($bInfoComptWin->getRamMaxCap()));
 
echo
'<b>Information About Physical Drives</b><hr>';
 
var_dump(trim($bInfoComptWin->getPhysDriv()));
 
echo
'<b>Information About graphics card</b><hr>';
 
var_dump(trim($bInfoComptWin->getCard()));
 
echo
'<b>Information About BIOS</b><hr>';
 
var_dump(trim($bInfoComptWin->getBios()));
 
echo
'<b>Information About Printer list status</b><hr>';
 
var_dump(trim($bInfoComptWin->getPrinterList()));
 
echo
'<b>Information About the Network card</b><hr>';
 
var_dump(trim($bInfoComptWin->getNetworkCard()));


Details

PHP-Detect-Computer-Basic-Information

This package can extract basic information about your computer from the HTTP request.

Currently it can view basic information of the current user computer with OS Windows like Operating System,CPU,RAM,Physical Drives,graphics card,BIOS,Printer list status or Network card


  Files folder image Files  
File Role Description
Plain text file detectBasicInfoComputerWin.php Class Class source
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file README.md Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
 100%
Total:245
This week:0
All time:7,985
This week:673Up