A description of a use case and benefits of Subresource Integrity and how to use it to secure CDN loaded resources from being tampered with.continue reading…
A quick demonstration measuring two universally unique identifiers using the Levenshtein distancecontinue reading…
A brief introduction into using cURL to get information about remote resources using PHP 7.2.4 and the php_curl 7.59.0 librarycontinue reading…
My thoughts and solutions regarding the Fizz Buzz programming question commonly used in interviews for candidates who are applying for programming positions.continue reading…
A brief guide on how to handle and manipulate JSON formatted data using PHP.continue reading…
A quick way to add the Google AdWords conversion tracking code and also many other tracking codes to your WooCommerce store, making it easy track sales and conversions.continue reading…
It's 2017 and I'm still coming across the user's input being passed directly into an SQL query, this a very quick round up of why you should NOT do this.continue reading…
Continuing on from my first post last week regarding the first stage of the GCHQ Christmas card puzzle, we move onto stage 2 and delve into how you can solve this with a little bit of programmingcontinue reading…
A quick look at part one of GCHQs Christmas card challenge, a 25 by 25 nonogram picture puzzle.continue reading…
The current feature list and explanation of the content management system created by me for my personal website chrishair.co.ukcontinue reading…
Using the Lightpack Ambilight hardware and Prismatik software, I'll show you how to connect over telnet on your local network and issue commands to the Lightpack.continue reading…
A brief summary of my opinion on what to use and what not to use when storing user passwords and how to implement this correctly in PHPcontinue reading…
A quick demonstration on how to generate a UUID and the code which can create 10 at a time for your use, this is a legacy snippet imported from my old website.continue reading…
A quick introduction on how to use the PHP PDO extension and how to correctly use this with user inputted queries to avoid SQL injection attacks.continue reading…
A demonstration of how to create a signed request for access to the Amazon product advertising API in PHP for use with ItemSearch or ItemLookup.continue reading…
A quick and easy way to do a WHOIS lookup in bulk to lots of .uk domain names via Nominets WHOIS server, there are some limitations to this though as Nominet will only allow 1,000 queries per day to its server from any one IP.continue reading…
A nice and easy way to upload a .csv file into a database, maybe useful for some sort of web app where the user doesn't have access to the likes of phpmyadmin but still needs the ability to upload huge amounts of organised data.continue reading…
A PHP implementation of a password generator for basic authentication on apache web servers using the .htaccess and .htpasswd combinationcontinue reading…