News Feed
Sections




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

DevShed:
Build a Query Processor Class for Networking in PHP 5 (Part 1)
May 18, 2006 @ 06:02:27

DevShed starts up a new series of tutorials today with this article, a look at how to build a query processor class for networking with PHP.

The networking query application that I plan to build will be encapsulated within a single PHP 5 class, but you can easily modify its complete source code in order to work with PHP 4. As I said before, this application should be considered a practical introduction to using many PHP built-in functions included in the corresponding PHP network library, so if you want to learn how to use these functions, this series might help you to start quickly including them in your own applications.

The app gives examples of converting hostnames to IP addresses (and back), defining two of the service methods in the class, and plugging them into a working example. It basically still only does the hostname/IP converstions, but it also lists out the services and which ports their on.

0 comments voice your opinion now!
query processor class networking php5 part1 query processor class networking php5 part1


blog comments powered by Disqus

Similar Posts

DevShed: Iterators in the Simplest Sense - Traversing Data Structures in PHP 5

AskAboutPHP.com: Codeigniter: Mixing segment-based URL with querystrings

Matthew Turland's Blog: Simplifying Zend_View_Helper_Url

Ilia Alshanetsky\'s Blog: PHP 5.1.1 Released! (and a Rant)

Ilia Alshanetsky's Blog: PHP 5.2.0 RC4 Released!


Community Events

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


library release interview video laravel list community opinion unittest introduction laravel5 api language version podcast series php7 voicesoftheelephpant example framework

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