| Getting Real |
One of my recent projects involved building the administration interface for a Web hosting company. This interface, primarily targeted at the company's clients, included the usual goodies - creating and deleting user and FTP accounts, configuring email forwards and spam filters, and viewing traffic statistics. One of the more novel aspects of this project, however, involved providing users with real-time server information - server uptime, memory usage, CPU load, number of concurrent users and so on.
Now, I'd never done something like this before, and I had no idea how to begin obtaining this information "live" from the system. A little research told me all about the /proc filesystem in Linux, and how it contains information on the system state, updated in real time. I played with this a little bit, confirmed that it contained most of the information I needed, and had started writing some code to interface with it when I decided - almost on an impulse - to see if someone had already invented this particular wheel.
Lo and behold, I found patSysinfo, the answer to all my problems (and then some). Flip the page, and let me tell you more...
How to do Everything with PHP & MySQL
How to do Everything with PHP & MySQL, the best-selling book by Melonfire, explains how to take full advantage of PHP's built-in support for MySQL and link the results of database queries to Web pages. You'll get full details on PHP programming and MySQL database development, and then you'll learn to use these two cutting-edge technologies together. Easy-to-follow sample applications include a PHP online shopping cart, a MySQL order tracking system, and a PHP/MySQL news publishing system.
Read more, or grab your copy now!