PHP: Displaying errors in the browser

Posted by & filed under PHP, Programming.

I run into this from time to time, and there are a few options for getting errors to display in browser when the server configuration is preventing it. .htaccess and php.ini can both be modified to allow this to happen. I have found a simpler way is to enable them via PHP:   ini_set(‘display_errors’,1); ini_set(‘display_startup_errors’,1);… Read more »

Using the Microsoft 3D Model Repair service powered by netfabb to repair STL, OBJ, 3MF or VRML files automatically

Posted by & filed under 3D Printing.

This is very handy for repairing 3D models. It is a automated cloud service that can repair “broken” 3d models. “Use the Microsoft 3D Model Repair service powered by netfabb to repair STL, OBJ, 3MF or VRML files automatically. Like a spellchecker, this service will save you time by taking care of the many common… Read more »

util.php – Handy PHP library

Posted by & filed under PHP, Programming.

UtilPHP (Aka util.php) is a collection of useful functions and snippets that you need or could use every day. It’s implemented as a class with static methods, to avoid conflicts with your existing code-base. Just drop it in and start using it immediately. Included are 40-odd functions that provide you with the ability to do… Read more »

Scanning for web malware, back doors, spam scripts, etc on Linux based web servers

Posted by & filed under Security, Server Admin.

In the wake of the recent SoakSoak WordPress vulnerability, among others I have began searching for a better way to keep tabs on malicious code that may get uploaded to client’s hosting accounts. Enter maldet. Maldet uses a constantly updated database of malware hashes to identify and quarantine (if required) malicious files. Maldet can be… Read more »

Exim – Find a list of the most commonly used scripts

Posted by & filed under Server Admin.

I had to deal with a malicious script that was inserted into a website today and was sending out spam. Typically I have a few tools I run, but I couldn’t locate this particular infection. Time to take another angle, Exim logs. The following shows the most used script directories which will help narrow down… Read more »