PHP

Posts relating to PHP.

October 31, 2021

Jigsaw

Whoops. I accidentally wiped the VM running my Wordpress blog. Rather than restore the Wordpress blog I decided to go with Jigsaw this time. Jigsaw is one of many static site generators, or as the...

Read more..
 

July 21, 2019

Managing languages with Laravel Nova

The real title of this post should be Managing many languages with Laravel Nova. You’ll find out why, very soon. Using Spatie’s Laravel Translatable and Nova Translatable packages managing...

Read more..
 

September 14, 2009

PHP TCP server

The first thing developed for Mailjoe was its TCP server. There are many examples out there, but we didn’t find any that was multi-protocol, non-blocking and multi-process. The snippets below...

Read more..
 

April 13, 2009

Syncing Fanfou with Twitter

@kofai asked me to share my Fanfou to Twitter sync script. It’s not art, but it works, so here goes: Enjoy!

Read more..
 

March 8, 2006

Geo DNS

There are many databases and pieces of code out there that allow you to detect which country (or even city) a visitor to your website is from. Most of this code is intended to allow you to adjust...

Read more..