Technology Articles

The science of today is the technology of tomorrow. Browse Technology related articles.

Dot. NET Articles

Browse the Dot.NET technical articles.

Web Design & Development

Browse Web Design & Development Articles which includes Technologies of Drupal, Joomla, CodeIgnitor, JQUERY, CMS, etc.

Health Articles

Browse Health Tips & Articles

Sunday, June 26, 2011

Heart Attacks And Drinking Warm Water

Very good article, which takes two minutes to read.


This is a very good article. Not only about the warm water after your meal, but about Heart Attacks. The Chinese and Japanese drink hot tea with their meals, not cold water, maybe it is time we adopt their drinking habit while eating.

Wednesday, May 4, 2011

Handling Multiple Images Upload - PHP Mysql

First you need to create File Upload form,

Use the following html form,
<form method="post" action="" enctype="multipart/form-data">
Choose a file to upload : <input type="hidden" name="MAX_FILE_SIZE" value="100000"><input name="uploadedfile" type="file">
</form>

Tuesday, May 3, 2011

SSH and Screen - Useful Tips

Screen is very useful in running processes despite losing connection to remote server connected with SSH. The detached process could be attached to the terminal and we could continue the work at later stage. This will show you how to use screen utility.

On Debian and Ubuntu, you just run the following command to install screen.
apt-get install screen

Friday, February 18, 2011

இன்றைய அஸ்தமனம் நாளைய விடியல்

எமது நண்பனுக்கு இந்த பதிவை சமர்ப்பிக்கிறோம்- சூசை மைந்தர்கள்


யாழ் மண்ணில் பிறந்து
சூசையின் மைந்தனாய் இணைந்து
வாழ்வின் இனியன பலவும் கடந்து
எம் ஒவ்வொருவர் நெஞ்சிலும் இணைந்து
உன் நினைவு மட்டும் எஞ்சிட
நிஜம் கரைந்த மாயமென்ன...?

Friday, February 11, 2011

World's First Programmable Nanoprocessor

While Studying at University, I had an opportunity to take up Nanotechnology as a Subject for my Final Year. I was also part of the Team which put up the First Nano Stall in Sri Lanka. Coming to the topic, No Microprocessors, Its *Nanoprocessors*.

Sri Lanka New Currency Notes

Thanks to Vinoth Yogasagayam, BOC

To view enlarged version click the images.

Thursday, December 16, 2010

Black Seed - Health Benefits and How to Use ?

I got this information from a very close friend of mine. After doing some background research I found some very useful and interesting information. So I am writing this blog post so that it will benefit everyone. If you find it interesting and helpful, please click like in the post and share it with your friends.

Monday, October 11, 2010

Apache log4cxx framework - Example using Pthreads - Part Two

This blog post is continued from Apache log4cxx framework - Part One

This post comprises of a simple Configuration file and how it can be incorporated to a c++ code file for using the log4cxx framework.

Add the following simple xml Configuration file and name it as "MyLog4CxxConfig.xml"

<?xml version="1.0" encoding="UTF-8" ?>
 <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"> 

Sunday, October 10, 2010

Php Mysqli extension

The MySql Improved Extension, a.k.a mysqli is faster more improved version of existing mysql. It is available in PHP 5 or later versions. The source code of mysqli is available at ext/mysqli. For further information click here.
A simple example how to connect and insert temp data to database 'mydb' and table 'mytable'.
Lets add DbConnector.php first,

Apache log4cxx framework - Part One

I happened to work with Apache log4cxx, a logging framework for c++. This framework offers lot of capabilities from simply outputting a log message to console, writing to log files, socket streaming and database logging. Best thing that i love about this framework that it is Thread safe.

Apache log4cxx, You can download it here

Log4cxx comprises of three main parts,


1) Public Class Logger
- Top level entry point of Logger