November 3, 2026
PHP: stop a cron job from running twice at the same time
A sync scheduled every 5 minutes that sometimes takes 7 will eventually overlap with itself. flock(), a MySQL lock or the flock…
// blog
November 3, 2026
A sync scheduled every 5 minutes that sometimes takes 7 will eventually overlap with itself. flock(), a MySQL lock or the flock…
November 2, 2026
“Invite a teammate” looks trivial until a forwarded link lets the wrong person in, or invitations quietly bypass the seat limit. The…
November 1, 2026
“Who deleted this quote?” Sooner or later an admin on a customer account will ask. Here is the audit log design we…
October 31, 2026
Everyone knows to use prepared statements. The SQL injections we find in code audits nearly always sit where developers were not sure…
October 30, 2026
Customers want to connect your SaaS to their CRM or their own scripts. Here is how we design API keys that stay…
October 30, 2026
A "summarise" or "rewrite" button in WordPress takes an afternoon. Shipping your AI provider's key inside the JavaScript takes one visitor to…
October 29, 2026
A catalogue import that works with 2,000 rows and dies at 200,000 almost always comes down to file() or one giant array.…
October 28, 2026
A bcrypt cost that's too low, or MD5 hashes left over from an old version: you can strengthen password storage without forcing…
October 28, 2026
An expired card shouldn't lock a customer out overnight. Here's how to handle past_due and unpaid statuses, payment reminders and a grace…
October 27, 2026
A reviews, weather or stock widget that calls an API on every page view slows the whole site down and breaks it…