News Feed
Sections




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

Kevin Schroeder's Blog:
You want to do WHAT with PHP? Chapter 1
August 26, 2010 @ 11:03:27

Kevin Schroeder has a new post today with an excerpt from his book "You Want to do WHAT with PHP?" - the first chapter looking at networking and socket connections.

I'm also woefully behind on blogging. So, to alleviate that I am going to post an excerpt from my upcoming book "You want to do WHAT with PHP?" Today we are going to take a look at Chapter 1.

The sample chapter talks about figuring out the host to netmask relationship relationship by parsing the IP with the ip2long and comparing that to the list of netmasks from an array. Sample code is provided as well as output for reference.

0 comments voice your opinion now!
book excerpt networking sockets netmask ip


blog comments powered by Disqus

Similar Posts

PHPBuilder.com: Pagination of Results on a Web Page

Kae Verens' Blog: Book Review: Learning PHP Data Objects

Chris Hartjes' Blog: Book Review -- CakePHP 1.3 Application Development Cookbook

Chris Shiflett's Blog: PHP Quick Reference

Chris Hartjes' Blog: "Refactoring Legacy Applications Using CakePHP" is now available!


Community Events





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


tips list laravel opinion conference api zendserver threedevsandamaybe release podcast community symfony interview language introduction bugfix deployment framework series library

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