16 October, 2009 (12:07) | Developer, Interoperability, Microsoft, PHP, PHP Classes, WebsiteSpark, Windows Azure | 2 comments
Tags: Interoperability, Microsoft, PHP, PHP Classes, PHP Developer, WebsiteSpark, Windows Azure
For years Software Engineers have been trying to get the best out of Opensource, PHP and Microsoft Products. Because of Microsoft business policy they were not successful enough. Finally, Microsoft understood the reality and started to bend towards PHP. Now they wants to make their Platform more compatible to work with PHP. Microsoft has taken [...]
2 September, 2009 (00:35) | FEED, PHP, Reference, class, programming | 1 comment
Tags: ATOM, class, FEED, PHP, Programming, RSS, XML
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 pluggable [...]
5 August, 2009 (17:03) | Bangladesh, I-Blood, PHP, Web Services, programming, web | 1 comment
Tags: Blood Network, I-Blood, PHP, Web Services
I-Blood, is a social network for blood.
I-Blood offers donor profile for every member. Which is still in improvement.
Profile badge image for i-blood beta version is available now. Here is the image:
Here is the link to the image: http://beta.i-blood.com/img/i-blood-badge.gif
Here is the sample code widget for placing the badge on your blog:
<p>
<a href=”http://beta.i-blood.com/g/profiles/pub/45″>
<img src=”http://beta.i-blood.com/img/i-blood-badge.gif” border=”0″ [...]
28 June, 2009 (09:51) | PHP, Reference, programming | 4 comments
Tags: Array, class, PHP, Programming
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 class
*
* This class provides configuration [...]
13 June, 2009 (13:01) | PHP, Reference, programming | 7 comments
Tags: class, http, PHP, Programming, Tutorial
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 php, [...]
20 November, 2008 (16:09) | MySQL, PHP, Reference, programming | 36 comments
Tags: Image, MySQL, PHP, Tutorial, Upload
A basic approach to upload and save image to a MySQL database and then display the image from the database.
First you need to create a table in MySQL Database to store the image data. Log into you database and run the following sql command:
CREATE TABLE `images` (
`id` int(11) NOT NULL auto_increment,
`name` varchar(100) default NULL,
`size` int(11) [...]
26 June, 2008 (12:50) | CakePHP, PHP, Reference, programming | 1 comment
Tags: PHP, Tutorial
Currently I am working on the documentation of my software written in PHP. From this documentation project I have found that proper commenting of code is a good documentation. If you write your code base along with comment then you don’t need to worry about the API Documentation of your software. You just have to [...]
5 May, 2008 (12:48) | PHP | 30 comments
Tags: PHP, ZCE
I bought 10 practice tests for ZCE, and today I tried one of 10. I successfully passed the 1st exam.
Here is the exam result.
This result is not that much satisfactory, but courageous for me. It shows that I am very much weak in network programming and xml & web services section.
But at east I [...]
2 May, 2008 (10:08) | PHP, programming | 159 comments
Tags: PHP, REST, Web Services
Before today I never tried for meshup. After having a conversation with Hasin Bhai I realized that I must have the knowledge on mashup, web services API and other techniques. Thanks to Hasin Bhai for such an informative conversation.
Even I never tried any REST services before, because I was impressed by soap based services. Today [...]
15 August, 2007 (11:21) | PHP, programming, web security | 62 comments
Tags: PHP, web security
To make my application secure I apply the following:
1. protect hammering by blocking host
2. use shttp to send unser information encrypted
3. Apply tocken along with PHP session id
4. hash password in a good meaner
5. use session timeout to a lower value like 10 min.
6. sanitize user input & apply protection against SQL injection
After applying all [...]
« Older entries