Reverse Proxy to your lan – inc wordpress hack

1. Name server Create name server entry pointing to your wan address your.external-name.com  A  1.2.3.4 2. Router Create a port forward  (on a specific port if required to a specific port) WAN (1.2.3.4) -> forward http traffic to lan 192.168.0.12 … Continued

MySQL Triggers

If you have a table of GPS data ,that keeps getting written to, and starts to run to millions of records. It is a sensible idea to create a trigger under mysql to update a scratchpad summary table on an … Continued

Serialised Array Walk

This is an array_walk style serialize that works with multi dimensional arrays, it also base64 encodes and decodes to allow ‘;’ to exist in the array.

PHP addslashes to an Array

This is for a solution for adding slashes to a $_POST array when you don’t know if magic quotes is turned on.