I came across an issue a few years back that I was supposed to post about there and then; what the hey no buggers bothered to fix it. Basically PHP – MCrypt is great, it handles lots of nice encryption algorithms very simply and provides just the right amount of abstraction to the user to … Read on Squire
I was nocking up a client script to drag down a news-feed and post it to a Wordpress blog; the script ran fine, no posts appeared and no errors occurred… irritating.
So I figured I'd share this pain in the arse issue fix to the "HTTP/1.1 417 Expectation Failed Error"
Error Contains None UTF-8 Content… Bleh When encoding use content to XML there are often issues that occur… 99.9% of the time stemming from users copy-pasting from MSWord in to text boxes and all the odd characters being carried through. PHP will play dumb and happily save this, then winge like a b’tch about displaying … Read on Squire
Date-Convert is a handy function to take one of the aches and pains out of MySQL by converting data from a variable (posted from a form or just stored) into a format mysql will be able to store and converting the database date back into the british standard of date month year.