Development Cycle

Binary Bits and Pieces

  • About Anthony Mills

Tag: apache

Executing PHP Code Server Side In .html Files

26 November 2012
Anthony Mills
No Comments

On a recent project we needed to provide a client our contribution to the site code base as static .html files. To make the development process easier though a number of the developers wanted to include some of the global page assets such as the header and footer using PHP…

Read More

Logging PHP Errors For Production Environments

18 July 2011
Anthony Mills
No Comments

Good security practices dictate PHP should be configured to never display error messages and notices to screen in a production environment due to its potential to reveal information about your server and application setup. One solution is to enable error logging on the server by setting the log_errors attribute to…

Read More