Skip to content

joho.se

  • WordPress
    • Fail2WP
    • EasyMap
    • Cloudbridge Mattermost
    • Shortcodes for Font Awesome
  • Öppet Moln
  • Send spam
  • find.me
    • Matrix, joho68
    • Mastodon, @joho
    • Twitter, joho68
    • Github, joho1968
    • Instagram, hobo68
    • Instagram, 1968geek
    • Instagram, 1968photo
    • 1968photo.com
joho.se
joho.se

joho.se

  • WordPress
    • Fail2WP
    • EasyMap
    • Cloudbridge Mattermost
    • Shortcodes for Font Awesome
  • Öppet Moln
  • Send spam
  • find.me
    • Matrix, joho68
    • Mastodon, @joho
    • Twitter, joho68
    • Github, joho1968
    • Instagram, hobo68
    • Instagram, 1968geek
    • Instagram, 1968photo
    • 1968photo.com

code

SwiftMailer 5, PHP5, and ISO-8859-15

07-Jun-2019

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 for a rather large project, I ran into an issue while using ISO-8859-15 encoded data. …

Read more

Categories Development Tags character encoding, code, mime, php, swiftmailer

Lightbox for Bootstrap 4 and jQuery

31-May-2019

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 the Javascript/jQuery code for the Bootstrap 4 modal. You don’t have to use jQuery to …

Read more

Categories Development, Web Tags bootstrap, bs4, code, javascript, jquery, lightbox, source code

Simple password construct validator for PHP

31-May-201930-May-2019

/* * Simple password construct validator for PHP * Joaquim Homrighausen <joho@webbplatsen.se> * May 30, 2019 * TEAMYUJO * * Do whatever you want with this snippet 🙂 * * This may not necessarily agree with the section * “Strength of Memorized Secrets” in the …

Read more

Categories Development Tags code, gist, php, snippet, source code

Setting PHP.INI path (or file) for PHP CLI shell scripts

12-Jun-2018

Running a PHP script from the command-line, or CLI, is quite useful at times and is often used to perform some automated task, like a CRON cleanup script, to send out reminders, etc. It’s common that these CLI scripts need some, but possibly not all, …

Read more

Categories Development Tags cli, code, cron, php, shell

PHP is_numeric () fails WordPress version string check

16-Jan-2017

This is, perhaps, obvious to most PHP developers. But it came somewhat as a surprise to me. Using is_numeric () for validating a WordPress version string, such as ‘4.7’, does not seem to work very well when WordPress introduces minor releases such as ‘4.7.1’. Since …

Read more

Categories Computers, Development, WordPress Tags code, php

jQueryMobile or “Mobile site” selection sets

19-Mar-2012

Using jQueryMobile for a fairly lightweight “mobile site”, I wonder what all you experts say about selection sets. A (long) list of countries for example. To prevent excessive delays, I now split country selection in two screens. The first one shows A-Ö (A-Z for you …

Read more

Categories Development Tags code, javascript, mobile phone, programming

Application event tracker (or really simple debugging) for PHP

13-May-2008

DISCLAIMER: There’s nothing revolutionary with what you are about to read, should you continue 🙂 This is simply something I did to avoid having to use a debugger where using a debugger wasn’t practical; and also to avoid having to emit “debug output” throughout the …

Read more

Categories Computers Tags class, code, debug, php
Newer posts
← Previous Page1 Page2

Recent Posts

  • SuiteCRM troubles could be caused by non-default session.name
  • Using diffmon to figure out what Jitsi is up to
  • WonderCMS Bootstrap 5 theme, updated (1.2.0)
  • GeForce RTX 2070 Super Dual Evo OC fan replacement
  • WonderCMS Bootstrap 5 theme, updated
  • WonderCMS Bootstrap 5 theme
  • WonderCMS BS5 local inclusion plugin
  • What does ChatGPT think of “Chat Control”?
  • Arbitrary interpretation of GDPR
  • Random Password Generator (POMjs)
  • Mounting /proc with hidepid under Ubuntu
  • Cloudbridge Mattermost 2.2.0 with WordPress 6 support
  • Folksam och Solid Försäkringar arbetar inte hållbart
  • Ubuntu and Zimbra upgrade night session
  • The Russian Elephant in the Room
  • DeltaFelter
  • Stealth Cookie
  • FidoNet
  • joho68

Recent Posts

  • SuiteCRM troubles could be caused by non-default session.name
  • Using diffmon to figure out what Jitsi is up to
  • WonderCMS Bootstrap 5 theme, updated (1.2.0)
  • GeForce RTX 2070 Super Dual Evo OC fan replacement
  • WonderCMS Bootstrap 5 theme, updated

Looking for something

Copyright © Joaquim Homrighausen; all rights reserved.
  • WordPress
    • Fail2WP
    • EasyMap
    • Cloudbridge Mattermost
    • Shortcodes for Font Awesome
  • Öppet Moln
  • Send spam
  • find.me
    • Matrix, joho68
    • Mastodon, @joho
    • Twitter, joho68
    • Github, joho1968
    • Instagram, hobo68
    • Instagram, 1968geek
    • Instagram, 1968photo
    • 1968photo.com