Automated Image Reflect Effect

Posted in: Php, Friday 30th July, 2010

I'm not a huge fan of the 'shiny surface' image effect that has become so prolific over the last few years - and to be honest its probably the very fact that it has become so prolific that makes me cautious over using it....

Read full post

Character Sets and Document Encoding

Posted in: Php, Thursday 2nd July, 2009

I've just spent an embarrassingly long time trying to solve a problem with normalizing a string (i.e. getting rid of all non-western characters and replacing them with equivalents)....

Read full post

cURL Remote Address

Posted in: Php, Monday 1st June, 2009

While trying to stop my Google Analytics code showing up on this site when I access the page I went for the obvious solution - simply to check if the visitor's IP address ($_SERVER['REMOTE_ADDR']) matched the IP addresses I normally access the site from....

Read full post

Binary IP

Posted in: Php, Tuesday 19th May, 2009

A little bit pointless perhaps, but just a quick little script to convert a users IP address into a binary IP - I can't even recall why I wrote this, but here it is anyway:...

Read full post

back