Rayhan’s blog (raynux.com)

Rayhan’s Personal Web Blog Site

Entries Comments


RayCrypt – PHP Class for Quick Two Way Encryption and Decryption

6 November, 2010 (19:26) | PHP, PHP Classes, programming, Reference, web security | 5 comments

Tags: , , , , , , , , ,


RayCrypt, A simple and easy PHP class for two way encryption and decryption with multiple configurations and plug and play features. Sometimes two way encryption is very much important when it comes in storing credential information. Credit Card, Bank account information, digital signature etc are very important information of user and strongly discouraged to store [...]

RayCache – An Easy, Multiple Configurable PHP Caching Class

8 August, 2010 (03:11) | class, PHP, programming, Reference | 4 comments

Tags: , , , ,


RayCache, A Simple and Easy PHP Caching Class with multiple configurations and plug and play features. Ever needed a quick caching class for your PHP application? This is another caching class for PHP which is able to solve your quick caching needs. Now a days all major frameworks comes with a standard caching library. But, [...]

RayFeedReader – PHP class for parsing RSS and Atom Feed

2 September, 2009 (00:35) | class, FEED, PHP, programming, Reference | 3 comments

Tags: , , , , , ,


RayFeedReader, A Simple and Easy SimpleXML based feed reader class using PHP. First of all it’s another reinvention of wheel. This class is designed to provide quick access to any XML based RSS feed and it’s content. Usages are very simple and require only one line of code. Html rendering functionality is provided through separate [...]

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 [...]

Update your social networking status from command line

28 February, 2009 (13:27) | Linux, programming, Python, web, Web Services | 10 comments

Tags: , , ,


This is my first python script, Throughout the learning process I want to make something use full and I know that the best way to learn a new programming language is to start with some real project. Updating your social networking status is now a frequent job. To make this job easier there are lots [...]

I have started learning both Ruby & Python

15 July, 2008 (23:58) | programming, Python, Ruby | No comments

Tags: , ,


Today I have started learning Python, after a successful start I have found that in Python the code block is separated by indent. That means no closing braces or ending identifier. like def whats_on_the_telly(penguin=None): if penguin is None: penguin = [] penguin.append(“property of the zoo”) return penguin   def another_func(): return 1 Here, the function [...]

A Simple C Program To Sum Two Large Number

12 March, 2008 (12:49) | C, programming | 12 comments

Tags: ,


I have very little knowledge on C. With this little knowledge I am helping a student of EEE department of BUET. I am requested to help in writing a program to perform addition and multiplication of two large number. In C there is no builtin datatype for large number and as a PHP programmer we [...]