473,837 Members | 1,588 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how i get the hardware and software information in php script

1 New Member
how i get the hardware and software information using php script in windows operating system
Dec 31 '09 #1
3 5741
8,658 Recognized Expert Moderator Expert
you can probably get the most from calling phpinfo().
Dec 31 '09 #2
Dheeraj Joshi
1,123 Recognized Expert Top Contributor
you can probably get the most from calling phpinfo().
Will this function give the hardware information.?

Dheeraj Joshi

Quote by php.net
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.
Dec 31 '09 #3
Dheeraj Joshi
1,123 Recognized Expert Top Contributor
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.
Dheeraj Joshi

You must be able to get Hardware information by executing some commands, Google it.
Dec 31 '09 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

by: Mark | last post by:
We have a particular software project where a minority of the function calls are taking up a majority of the cpu time. (they do a lot of geometric, trig and other functions related to vectors corresponding to tracks in 3d space) We think there's not much more that can be done to speed these functions up on the computer we have (or can have). The question is, aren't there available now hardware cards that you can load with particular...
by: Annette Massie | last post by:
Does anyone have a solution for tracking hardware, os and office products for their organization? We are looking for a way to track this information and then assign it to an employee and track its life through our organization until its death or sale. I would like to write something in Access to accomplish this, but would like to know how people handle this process physically. Do you use bar codes, do you just enter...
by: Isaac | last post by:
Hello, I'm trying to get this script working. Bascially, it gets a list of computers from AD, then loops through them to gather hardware informatino (which it writes to a text file). It runs fine for the first computer, echos its name then runs the WMI component. The problem is that after if echos the second computer name it it gets to line 43 and dies with an error. I'm really new to VB scripting, so I was hoping someone here could...
by: alf | last post by:
Hi, is it possible that due to OS crash or mysql itself crash or some e.g. SCSI failure to lose all the data stored in the table (let's say million of 1KB rows). In other words what is the worst case scenario for MyISAM backend? Also is it possible to not to lose data but get them corrupted?
by: x01001x | last post by:
When programming in C (not C++) how does one send information to a hardware device such as a video card or modem? How is this done in Linux C programming versus Microsoft C programming?
by: Florencio Cano | last post by:
Hi, I'm looking for a method of gathering information about the system hardware and software installed using Python. I would like to do it in UNIX and in Windows. I think that it would be good in Windows to look in the registry and be able to parse and search it. Any pointer to information would be appreciated. Thanks.
by: Hero Doug | last post by:
A friennd and I were talking about OS development last night and a few questions were raised that need some clarification. I did the usual search and it turned up the usual garbage, so I'm hoping someone here has an answer, or the link to an answer. Issue One: How does the operating system communicate with the hardware in protected mode? My friend said it was through the BIOS, however I've read numerous texts stating that BIOS interrupts...
by: Rune Allnor | last post by:
Hi all. I consider to let a client have a test version of some of my software. If the software turns out to do what it is supposed to do, I would like to protect it from being distributed, e.g. by using hardware keys. The software in question is written in C++. 1) How does one use hardware keys to protect programs? That is, what voodoo is involved from the programming POV.
by: bravoss | last post by:
I'm having a group project in university on developing information systems for software development company. I'm assigned for setting up the hardware for the company. What are some of the essential requirements? I have to put price into consideration. I was thinking about IBM's Intellistation Power 185 Express workstation instead of a server, to cut the costs. What are your opinions on this, are there are any better solutions? I'd really...
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.