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 2
August 27, 2010 @ 08:09:07

Kevin Schroeder has posted a new book excerpt from his "You Want to Do WHAT with PHP?" book - chapter two dealing with binary protocols.

PHP developers know text really, really well. We can write SQL, we can build HTML, we can work with XML. But computers don't speak in terms of structured text markup, they speak in terms of bytes. And while there are many PHP developers who can speak at the lower level of bytes and bits and such, there are many more that have difficulty there.

His short excerpt (from a very long chapter) talks about working with DNS information and how you can send requests (similar to the unix "host" command) and parse them correctly. Some sample code is provided to make a request for a record on mcpressonline.com and the output it would produce.

0 comments voice your opinion now!
book excerpt kevinschreoder binary dns request


blog comments powered by Disqus

Similar Posts

Raphael Stolt's Blog: Using the Zend Framework plugins for server-sided Ajax request identification

Jani Hartikainen's Blog: How to CSRF protect all your forms

Raphael Stolt's Blog: Zend Framework in Action Pre-review

Christopher Jones' Blog: Review: Easy Oracle PHP

PHPClasses.org: Book Review: Object-Oriented Programming with PHP5


Community Events

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


release threedevsandamaybe opinion podcast api introduction framework unittest interview version library voicesoftheelephpant laravel5 symfony extension series security laravel community language

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