Sunday, March 16, 2008

Power On Self Test Beep Codes (PC errors)

When an IBM compatible computer is first turned on, the hardware runs a Power-On Self Test (POST). If errors are encountered during this POST test, they are usually displayed via an audio beep or in the form of a code number flashed across the screen. With this audio code in hand, you can determine what part of the system is having problems and find a solution.

The pattern of beeps whether its the number of beeps or the length of those beeps will give you an indication of the actual problem. Its a distress signal from the computer in a morse code like pattern. Unless you have a diagnostic card to tell you more about the particular problem, you will have to use the charts below to decipher the computer error and get your machine back up and running.

link 1 | link 2

Steps to Assemble a System

Here is a brief summary of the steps to assemble a system.

*Prepare the computer case
*Prepare and mount the motherboard
*Mount the drives
*Connect the drives and motherboard
*Mount video and other add-on cards
*Testing and getting ready for operating system

read more...

Thursday, March 6, 2008

Uploading Files with PHP

This will allow you to upload files from your browser to your hosting, using PHP. The first thing we need to do is create an HTML form that allows people to choose the file they want to upload.

read more...

Creating Thumbnails with PHP using the GD Library

When viewing files online, it is often necessary (or at least convenient) to be able to create a thumbnail image on the fly. You may want to create previews of photos you are linking to, or perhaps resize photos for your website to a more user friendly size without having to bother with a graphics program.

In this tutorial we will explore how to do this using imagecopyresized () and using imagecopyresampled. We will also cover calling the image from the PHP file, as well as saving the image to your server.

Before you begin, you should have a general knowledge of PHP and know a little about the GD Library. Also be sure you are actually running the GD Library on your version of PHP.

read more...

Using the MAIL function

http://php.about.com/od/advancedphp/ss/mail_1.htm

PHP Security Mistakes

http://www.devshed.com/c/a/PHP/PHP-Security-Mistakes/

How to Send Email from a PHP Script

Send Email from a PHP Script

All it takes is the right configuration (to send mail using a local or a remote server) and one function:

* mail().

Send Email from a PHP Script Example

The first argument to this function is the recipient, the second specifies the message's subject and the third one should contain the body. So to send a simple sample message, we could use:

$to = "recipient@example.com";
$subject = "Hi!";
$body = "Hi,\n\nHow are you?";
if (mail($to, $subject, $body)) {
echo("

Message successfully sent!

");
} else {
echo("

Message delivery failed...

");
}
?>

That's it!


http://email.about.com/cs/phpemailtips/qt/et031202.htm

Store PHP Code in a MySQL Database

A very effective way of creating a template based site, or executing different PHP on the fly simply by calling different rows from MySQL.

http://php.about.com/od/phpwithmysql/qt/php_in_mysql.htm

Connect to MySQL Database in PHP

http://www.php-mysql-tutorial.com/connect-to-mysql-using-php.php