To this day my post about socket programming in PHP was viewed 45.685 times.

It’s an article about the basics of socket programming in PHP, and how to get on the right track. I thought this was interesting.

Then I thought back, how I struggled with this concept when I started out programming, nearly 10 years ago. Servers are mindblowing at first.

  1. There are two ways to do this in PHP. And you have to discover the pleasant way yourself (it’s not the obvious one).
  2. You need to know some networking terminology to understand it properly, which is often omitted in programming books. Especially in books about programming in PHP.
  3. The PHP manual is often aweful to read. Good, simple, and tweakable examples are hard to come by.
  4. We are used to the fact that PHP starts from fresh memory on each request, servers are so entirely different.

So this sucks. Let’s fix this.

What if you had a book, that…

  1. tells you the right way to approach socket programming in PHP.
  2. starts bottom up, beginning with the basic networking terminology.
  3. provides simple, tweakable examples, which you can use as a base for your stuff.
  4. and has someone who is available for all your questions, if you are stuck.

The little PHP Socket Programming Handbook

Available NOW starting at just 29€ (probably way less than you make in an hour), your guide to building awesome things with sockets in PHP.

Buy now

Buy now for 29€

Before you leave

There’s a free sample chapter for you, where you’ll learn all the basics of networking and socket programming, and learn to write your first server.

Enter your email address and you’ll get:

  • An intro to networking basics
  • An intro to socket programming with PHP and how to write your first server
  • 12 page PDF

We never share your data with anyone and hate Spam just like you do.

* indicates required

Ing. Christoph Hochstrasser will use the information you provide on this form to be in touch with you and to provide updates and marketing. Please let us know all the ways you would like to hear from us:

You can change your mind at any time by clicking the unsubscribe link in the footer of any email you receive from us, or by contacting us at [email protected]. We will treat your information with respect. For more information about our privacy practices please visit our website. By clicking below, you agree that we may process your information in accordance with these terms.