A PHP based interactive story engine