Posts

Showing posts from August, 2009

Remove a running process from memory in DOS

KILL (Resource kit) Remove a running process from memory. Syntax KILL [option] process_id KILL [option] task_name KILL [option] window_title Option -f Force process kill Note: Kill -f basically just nukes the process from existence, potentially leaking a lot of memory and losing any data that the process hadn't committed to disk yet. It is there for worst case scenarios - when you absolutely must end the process now, and don't care whether proper cleanup gets done or not.

how to find the model number of computer

1 To retrieve serial number of the computer run the following command wmic bios get serialnumber 2 To retrieve model name of the computer run the following command wmic csproduct get name 3 Go to start / accessories /system tools / system information. Should bring up an info box with that info. . 4 Go to CPUID.com, and download a little program called CPU-Z. It'll tell you everything inside your computer plus the model no

content management system using php

http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd "> http://www.w3.org/1999/xhtml "> Untitled Document A Content Management System ( CMS ) is used to add, edit, and delete content on a website. For a small website, such as this, adding and deleting a page manually is fairly simple. But for a large website with lots of pages like a news website adding a page manually without a content management system can be a headache. A CMS is meant to ease the process of adding and modifying new content to a webpage. The pages content are stored in database, not in the file server. This tutorial will present an example of a simple content management system. You will be able to add, edit and delete articles using HTML forms. For the database table we'll call it the news table. It consist of three columns : id : The article's id title : The title of an article content : The article itself First we need to c

php code for login with javascript

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>colors2web</title> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>colors2wweb login</title> <link href="style.css" rel="stylesheet" type="text/css" /> <script src="jquery.js" type="text/javascript" language="javascript"></script> <script language="javascript"> // Develop

connection to database

<?php $host = "localhost"; $user = "root"; $pass = ""; $conn = mysql_connect($host, $user, $pass); $db=mysql_select_db('colors2web') or die(mysql_error()); ?>