News Feed
Jobs 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

John Cox\'s Blog: Book Review - XML Web Development

PHP -GTK Community Site: A New Trio of Posts (phpISO, a PHP-GTK book, and Dev Inspector)

Community News: What References Do You Use?

PHPMac.com: IP Banning

Padraic Brady's Blog: Chapters One and Two of "Zend Framework: Surviving the Deep End" Book Released


Community Events











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


podcast package performance composer framework release hhvm hack language series application database component install introduction unittest facebook opinion security symfony2

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