Alun Rowe

ramblings about cars, tech, web development and more. BOTB Winner in 2010

Category: php

Mimicking Laravel scheduler during local development

When I’m developing on my local machine (OSX Mac) I sometimes need to see how the scheduler is going to interact with my application.  Perhaps running some garbage collection or sending notifications etc. Until now I’ve had to manually sit running php artisan schedule:run myself which is not what I signed up for when I […]

Connect Codeigniter PHP7.3 to MSSQL

How to connect Codeigniter 3 to an MSSQL server from an Ubuntu 16.04 server

FIXED: DNSMASQ not resolving .test domains for Valet

My Laravel Valet server seemed to have stopped working but on closer inspection DNSMASQ was to blame. Here’s how I fixed it.

Validate MRZ passport numbers with Regex and PHP

Recently I needed to validate passports using the Machine Readable Passport Zone (MRZ) numbers using Regex.

Connect SequelPro to Homestead Vagrant Mysql database

In my experience the best way to connect SequelPro on my Mac to a Homestead Vagrant MySQL database is via SSH. Here is a guide to the setttings you need

Posting a form in WordPress sends you to a 404 page

Ever tried posting a form to a Wordpress page and just got a 404 page in return? This should help you fix it!

Turn a SimpleXML object into a PHP array

Nice simple quick trick but makes dealing with SimpleXML so much easier!

Excel/VBA equivalent of the PHP Implode function

On a recent data import between Xero and OnePageCRM I needed to turn multiple column address into an address list into a single line. For this I needed the PHP implode function so I wrote one for Excel

Codeigniter Beginners Tutorial Article

Over the Xmas break I was lucky enough to be asked to write an article for the 12DevsOfXmas website. Despite my advancing years this was the first time I’d been asked to write about web development in a technical manner so it was a bit of a learning curve for me.

Powered by WordPress & Theme by Anders Norén