I am Hack Sparrow
Captain of the Internets.

How to manhandle XML with namespace in PHP

You might agree that handling XML is already a fuckin pain in the ass! There are so many cumbersome ways of handling XML in PHP, you don't have a clue which one to use and how the fuck they work anymore. Then one beautiful day you get an XML which looks like this monster: [xml] <?xml version="1.0" encoding="UTF-8"?> <aws:SitesLinkingInResponse xmlns:aws="http://alexa.amazonaws.com/ ...

iName – PHP Function to Format and Generate iProduct Names

The iName is a commercial PHP function used for formatting and generating product names which comply to the iProduct naming convention. According to the iProduct naming convention, the name of the product should be prefixed with a lowercase "i" followed immediately by the capitalized normal name of the product. The iProduct naming convention was pioneered by Steve Jobs at Apple. Examples of products which comply to the iProduct naming convention: iMac iPhone iCamera ...