Wednesday 29 February 2012

What is Computer?


A computer is an electronic device that performed numerical calculations as well as logical operations. It is a general purpose device that can be programmed. Computer accepts information and manipulates it for some result based on a program or sequence of instructions on how the data is to be processed. Computer can not do anything without a Program.  Now a days computer can be used to type documents, send email, play games, and browse the Web. You can also use it to edit or create spreadsheets, presentations, and even videos. 
 
The word computer is made from the Latin word 'computare', this means machine for calculations. Charles Babbage is considered to be  'father of the computer'. He was the first person who designed mechanical computer that eventually led to more complex designs.

The basic components of a modern digital computer are: Input Device, Output Device, Central Processor Unit (CPU), mass storage device, and memory.

Thursday 16 February 2012

HTML email in PHP

PHP's mail() function allows you to send HTML emails directly from a script.
<?
$to="abc@yahoo.com";
$subject="mail subject";
$body="mail body";
$headers  = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";      
$headers .= 'From: yourname <no-reply@yourdomain.com>' . "\r\n";
mail($to, $subject, $body,$headers);
?>

The above code is enough for sending HTML email to anyone by using PHP language. The code is very simple and tested.

What Is The Difference Beween Numerals and Number?

Number is a concept, it is a mathematical concept. To express the quantitative value of the object, this  is developed in ancient history. S...