News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
Adding Methods to the Query Processor in PHP
May 24, 2006 @ 12:15:43

DevShed has posted the second part of their "Network Programming in PHP" series today - this time, they enhance the QueryProcessor class they've developed with even more functionality.

At this point I guess that all the networking PHP built-in functions that I covered in the first article, such as the "gethostbyaddr()", "gethostbyname()", "gethostbynamel()" functions are already familiar to you. So now I will explain what new things you'll learn in this second article of the series. Since I want to continue expanding the "QueryProcessor" class that I coded previously, this installment will focus on adding more methods to it, by using other useful PHP network functions, aimed particularly at running popular Windows networking applications, like "ipconfig," "netstat" and more.

If you didn't get a change to check out part one, it's definitely suggested that you do so before you start on this section. As mentioned, they're going to show you how to add other functionality to the class, including the ability to ping another server, check the current machine's network settings, perform a "netstat" command, and get the MX records for a hostname. At the end, they stick it all together in the complete (so far) class for easy cut and paste.

0 comments voice your opinion now!
part2 network functions query processor part2 network functions query processor


blog comments powered by Disqus

Similar Posts

SomeCoders.com: Member Managment System Using PHP, AJAX and script.aculo.us (Part 2)

php|architect: Stored Procedure Programming for MySQL5 (Part 2)

SitePoint PHP Blog: Living Dangerously with PHP and UTF-8

DevShed: Building a PHP 5 Form Processor - Using the Form Processor Package

SitePoint PHP Blog: Build Virtual Machines Easily with PuPHPet Part 2


Community Events





Don't see your event here?
Let us know!


application language symfony list threedevsandamaybe wordpress configure code laravel introduction developer bugfix library release install api community series podcast interview

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework