Rayhan’s blog (raynux.com)

Rayhan’s Personal Web Blog Site

Entries Comments


Month: June, 2009

Convert a Multidimensional Array Into Single Dimension

28 June, 2009 (09:51) | PHP, programming, Reference | 9 comments

Tags: , , ,


RayArray is a array utility class. I have wrapped three static functions for converting multidimensional configuration data. It is very much useful when working with configuration data. I have used this class in one of my project to store arbitrary configuration data just like windows registry data. File: rayarray.php <?php /** * RayArray arrays utility [...]

Http Client Class for PHP development

13 June, 2009 (13:01) | PHP, programming, Reference | 9 comments

Tags: , , , ,


RayHttp, A Simple Http Client Class for PHP Development. This class is designed to provide quick http reqest method to access external website. A CURL alternative to php native file_get_contents method. It can work without any configuration and can be called anywhere is your application using singleton design pattern. Unlike other Http client class in [...]