SwiftMailer 5, PHP5, and ISO-8859-15

I’ve been using SwiftMailer for as long as I can remember because it’s, IMHO, a great library and far more logical than PHPMailer and “others”. While maintaining a PHP5 codebase …

Read more

Lightbox for Bootstrap 4 and jQuery

Lightbox (or “image preview”) functionality for Bootstrap 4 without additional libraries (apart from jQuery). Written by Joaquim Homrighausen <joho@webbplatsen.se> 30-May-2019 TEAMYUJO Do as you wish with this 🙂 This is …

Read more

Simple password validator for PHP

/* * Simple password construct validator for PHP * Joaquim Homrighausen <joho@webbplatsen.se> * May 30, 2019 * TEAMYUJO * * Do whatever you want with this snippet 🙂 * * …

Read more

R.I.P. Mats Birch

I have received very sad words that Mats Birch passed away in May 2019. He was truly an original character and also one of the persons behind “M” in the …

Read more

Using nmap to “ping” remote ports

nmap -p 443 site.com nmap -p 21,22,2222,80,443 site.com nmap -p 50-100 site.com nmap is a very versatile tool for analyzing remote hosts. Given the above examples, nmap will return the …

Read more