Tag Archives: php

Base62: Convert a number to base 62 for short URLs in PHP

Base62 is a PHP class to convert a number to and from any base between 2-62. There is no native function in PHP to convert upto base 62. The native function base_convert converts numbers upto base 36, ie. using 0-9 … more

Tags: , , , ,
Posted in lab | 3 Comments
• • •

XML2Array: Convert XML to Array in PHP

XML2Array is a class to convert XML to an array in PHP. It returns an array which can be converted back to XML using the Array2XML class. It can take a string XML as input or an object of type … more

Tags: , , , ,
Posted in lab | 10 Comments
• • •

Array2XML: convert PHP Array to XML (with attributes and CDATA)

Array2XML is a class to convert an array in PHP to XML. It allows you to parse a multidimensional array into XML including attributes unlike other scripts available on the internet. It returns the XML in form of DOMDocument object … more

Tags: , , , ,
Posted in lab | 58 Comments
• • •

Getting most out of Amazon S3

Amazon S3 is a very useful service. S3, according to the official Amazon Web Services website is Amazon S3 is storage for the Internet. It is designed to make web-scale computing easier for developers. Its a no frills service and … more

Tags: , , ,
Posted in lab | 17 Comments
• • •