Monthly Archives: January 2011

Apache access control by IP address

If you’re running a PHP application, particularly a web service, you may want to restrict access based on the client’s IP address. Whilst this is not a fool-proof method of protecting a site, it will probably discourage the majority of … Continue reading

Posted in Apache, Security | Comments Off

Correct headers for file downloads

Most of the time on websites you will simply link directly to a file if you want to allow visitors to download it. However, there are two occasions when you might want to link to a script which outputs the … Continue reading

Posted in Code | Comments Off

RDF, SPARQL and PHP

Ever wanted to fiddle about with Linked Data using RDF and SPARQL? If so, LiteraryMachine has an excellent post entitled Dead Simple: RDF and SPARQL using PHP, which explains how to do exactly that.

Posted in Libraries | Comments Off

Win tickets to the PHP UK conference

Zend are giving visitors to their site the change to win tickets to the PHP UK conference which is taking place at the end of February. Entering is free, but requires you to sign up for a Zend Account.

Posted in Conferences | Comments Off

Creating and reading Excel spreadsheets

If you’ve ever needed to automatically read or generate Excel spreadsheets in PHP, there’s a fantastic library called PHPExcel which will help you with these tasks. It supports Excel 2007 files, is free software (LGPL) and doesn’t require too much … Continue reading

Posted in Libraries | Comments Off