Coding
This section is for articles about programming, mainly web development. For the moment it's mostly about PHP, but I'll add other topics as they spring to mind.
PHP articles
- The GNU find command.
- How to use find and BASH to run a script on every directory within a directory tree.
- Apache 2 with PHP 5 CGI.
- How to get Apache 2 to use PHP 5 built as a CGI executable.
- PHP error handling.
- Create error handlers that discreetly tell you about errors on your live site.
- Keep PHP files in different directory trees.
- Advice on how to keep library files separate from page-generating scripts.
- Reading data from an XML feed onto your site with PHP.
- A guide to extracting data from RSS feeds to display on your site.
- XML data extraction using regex.
- A three-page article that offers two handy PHP functions for extracting data from XML files using regular expressions.
- A content randomizer in PHP.
- A way to randomly select content for output to a webpage.
- Mailform abuse and how to prevent it.
- A tale of how the feedback form on this website was exploited by junk mailers, and what changes were needed to fix the problem.