Convert DPT5/EIS10 2-byte octal value with PHP

  Using a KNX server like eibd with PHP in combination, you might come to a point where you want to convert the DPT/EIS encoded telegram values to decimal format. For some data types, it works by simply using PHP hexbin(), but it does not for 2-byte floating...

Magento CE 1.x: Restricting admin access with IP whitelist

There are many tutorials (e.g. the official one) how to make Magento secure, but none of them worked perfectly (for me). So this is my approach: Secure /downloader Add to downloader/.htaccess: Shell Order deny,allow Deny from all Allow from 77.12.34.56 Allow from...

HTML / PHP mailto: Content link with special characters

Scenario On your website, you want to offer a link which opens a mail client like Outlook with mail and content suggestion. The content contains a link to a file with special characters in its name, which causes Outlook to break the link, e.g. if it contains spaces or...
  [email protected]