Technical Articles

In-depth guides, insights, and best practices for modern software engineering

Error 406?

So you received an error 406 while trying to upload a file and you have no idea to fix it!

This usually happens when mod_security on your Apache …

Read Article →

Force Download in PHP

This script works in all browsers, including Internet Explorer! 🙂

Sometimes you need to force the browser to download a file instead of displaying it …

Read Article →

PHP – file() lines

Need to read a file line by line in PHP? The file() function is the quickest way to do it. It reads the entire file into an array where each element …

Read Article →

Send Email PHP Function

Ever find yourself typing the headers into the php mail() function over and over again?

Try using a standard function and calling it when you need to …

Read Article →