html5andphp: 2013

Saturday, 17 August 2013

web layout

Web layout using html css


Save this file in index.html format

<!DOCTYPE html >
<head>
<link rel="stylesheet" type="text/css" href="9.CSS" />
</head>
<body>
<div align="center">
<div class="cantane">
<div class="header"><img id="uk" src="uk..jpg"/>
<h1><div id="title"><a  href="index.php">home </a></div></h1>

<div style="margin-top:-20px; float:right; width: 100%; text-align:right; padding-right:10px;"><?php echo date("dS F Y")    ?></div>
</div>
<div class="navbar">
<div class="menu">
<ul>
<li>jokes
<ul>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
</ul>
</li>
</ul>
</div>

<div class="menu">
<ul>
<li>jokes
<ul>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
</ul>
</li>
</ul>
</div>
<div class="menu">
<ul>
<li>jokes
<ul>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
</ul>
</li>
</ul>
</div>

<div class="menu">
<ul>
<li>jokes
<ul>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
</ul>
</li>
</ul>
</div>
<div class="menu">
<ul>
<li>jokes
<ul>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
</ul>
</li>
</ul>
</div>

<div class="menu">
<ul>
<li>jokes
<ul>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
</ul>
</li>
</ul>
</div>
<div class="menu">
<ul>
<li>jokes
<ul>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
</ul>
</li>
</ul>
</div>
<div class="menu">
<ul>
<li>jokes
<ul>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
</ul>
</li>
</ul>
</div>
</div>


<div class="left"><div class="im">uk

</div>
</div>


<div class="right">
<h3><font color="#0000A0"><b><i><u>Updates</u></i></b></font></h3>
<marquee direction="up" height="430" scrollamount="4" onMouseOver="this.stop();" onMouseOut="this.start();"> <a href="#">Updates</a> * Bollywood legend Pran no more...read more<br><br><br>
 *I was victim of Hospital snooping by Kim Kardashian<br><br>*Hrithik Roshan raring to get back in action<br><br>*Bhaah Milkha Bhaag moves to blockb</marquee>
 </div>



<div class="body">
<ul>
<li>The quick brwown fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own
</li>
<li>The quick brwown fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own
</li>
<li>The quick brwown fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own
</li>
<li>The quick brwown fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own
</li>
<li>The quick brwown fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own
</li>
<li>The quick brwown fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own
</li>
<li>The quick brwown fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own
</li>
<li>The quick brwown fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own
</li>
<li>The quick brwown fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own
</li>

<li>The quick brwown fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own
</li>
<li>The quick brwown fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own
</li>

</ul>
</div>



<div class="footer">@khan software pvt. ltd.
<div id="counter">
</div>
</div>
</div>
</div>
</body>
</html>

Save this file 9.css and then open in any web browser

.cantane {
width: 900px;
}
.left {
float: left;
height: 800px;
width: 150px;
border-left:solid #000000;
font-family: "Times New Roman", Times, serif;
font-size: 14px;
font-style: normal;
background: #660099;
 

}
.right {
background-color: #660099;
float: right;
height: 800px;
width: 150px;
font-family: "Times New Roman", Times, serif;
font-size: 14px;
font-style: normal;
    border-right:solid #000000;
}
.body {

padding:20px;
text-align:justify;
width:550px;
height:700px;
}



.footer {
font-family: Arial, Helvetica, sans-serif;
font-size: 24px;
font-style: italic;
color: #00CC66;
text-decoration: underline;
background-color: #000000;
clear: both;
height: 70px;
width: 900px;
}


.header {
background-repeat: no-repeat;
height: 100px;
width: 900px;
border-bottom-width: medium;
border-bottom-style: solid;
border-bottom-color: #0000CC;
position: relative;
background-color: #990000;
}
.navbar {
height: 30px;
width: 900px;
margin-top: 5px;
position: relative;
}

#image {
position: relative;
height: 500px;
width: 149px;
}

.link {
position:absolute ;
top:5px;
left:50px;
}
.link ul{
margin:5px;
overflow:visible;
}
.link li{
margin:0px 5px 0px 0px;
list-style: none;
display: inline;
}

.link li a{
color:#FF0000;
padding:5px 10px 5px;
text-decoration:none;
}
link li a:hover
{
color:#0000FF;
text-decoration:none;
}

h1
{color:#8000FF;
size:22px;
float:left;
}
#uk
{height:90px;
width:100px;
float:left;
margin:5px 5px 5px;
}
.uk1
{float:right;

}

.uk1 td
{
color:#000099;
font-size:16px;
}

.uk1 tr
{
color:#000099;
font-size:16px;
}


.menu
{
padding:0px;
margin:0px;
}
.menu ul
{
padding:0px;
margin:0px;
line-height:30px;
}
.menu li
{
list-style:none;
position:relative;
float:left;
background-color: #006600;
height:30px;
width:108px;
display:block;
border:solid 2px #FFFFFF;

}
.menu a
{
height:30px;
width:108px;
display:block;
border:solid 2px #FFFFFF;
text-decoration:none;
color:black;
text-align:center;
}
.menu ul ul
{
visibility: hidden;
position:absolute;
top:30px;
}
.menu ul li:hover ul
{
visibility:visible;
}
.menu a:hover
{color:#660000;
background-color:pink;
}
.menu ul li:hover ul li a:hover
{
background: #FF0099;
}

#title
{text-decoration:none;}
web layout

Thursday, 15 August 2013

Digital clock

Making Simple Digital Clock Using Java Script 


<!DOCTYPE html>
<head>
<script>
      setInterval(update, 1000);//It is used to update function every seconds.
function update() //function to find time
{
  var date = new Date();//date variable store all date and time data
  var hours = date.getHours();//store hour
  var minutes = date.getMinutes();//store minutes
  var seconds = date.getSeconds();//store seconds
  if(minutes<10)//it is used to add "0" together 1 to 9
  {                       //such as if second=1 then show 01
  minutes="0"+minutes;
  }
  if(seconds<10)
  {
  seconds="0"+seconds;
  }
 
if(minutes<12) //it is used to show am or pm
  {
  sort1="AM";
  }
  else
  {
  sort1="PM";//it is used to show 12 hours clock
  }
  if(hours>12)
  {
  hours=hours-12;
  }
  document.getElementById("demo").innerHTML="<font size='14'>"+hours+":"+minutes+":"+seconds+":"+sort1+"</font>";//for calling using id in html
}

</script>
<style type="text/css">   //some css used to design clock
.uk
{
border:solid 2px #009933;
display:table;
color:#CC0033;


}
</style>
</head>
<body>
<center>//it is used to show data in centre
</br></br></br></br></br></br></br>
</br></br></br></br></br></br></br>
<div class="uk"> //it is used to call css
uk clock
<div id="demo"></div> //it is used to call java script
</div>
</center>
</body>
</html>

Output

simple output
digital clock

Monday, 5 August 2013

Cookies

Cookies


A cookie is often used to identify a user. Cookies are text files stored on the client computer and they are kept of use tracking purpose.

Each time the same computer requests a page with a browser, it will send the cookie too. PHP transparently supports HTTP cookies.

A cookie is a small file that the server embeds on the user's computer.
Server script sends a set of cookies to the browser.
such as user name ,password etc.
Browser stores this information on local machine for future use.

How to Create a Cookie?



** The setcookie() function must appear before the <html> tag.
setcookie(name, value, expire, path, domain, security);
 There are six arguments explain in detail below.

Name - This sets the name of the cookie and is stored in an environment variable called HTTP_COOKIE_VARS. This variable is used while accessing cookies.

Value -This sets the value of the named variable and is the content that you actually want to store.

Expiry – This specify a future time in seconds since 00:00:00 GMT on 1st Jan 1970. After this time cookie will become inaccessible. If this parameter is not set then cookie will automatically expire when the Web Browser is closed.

Path -This specifies the directories for which the cookie is valid. A single forward slash character permits the cookie to be valid for all directories.

Domain - This can be used to specify the domain name in very large domains and must contain at least two periods to be valid. All cookies are only valid for the host and domain which created them.

Security – This can be set to 1 to specify that the cookie should only be sent by secure transmission using HTTPS otherwise set to 0 which mean cookie can be sent by regular HTTP.
Syntax
setcookie(name, value, expire, path, domain,security);

Example
Generaly we use three orgument because of other three orgument used in web servers not in local machines.
<?php
setcookie("cookies_name", "umar farooque khan", time()+3600);
?>
<html>
<head>
.............
.............
</html>

Sunday, 4 August 2013

Changing image using php random function

Random function in image

In this code simpl use of random function and switch case.First of all random function call in switch case and pass the initial and final value of case such as no of cases =16( 1 to 16 ) then first orgument is 1 and second orgument is 16 and seprated by comma.Then starting a switch case curly braces  and then start the first case,make a variable which store the the image same as all cases and assign the image and then use break keyword (break is used for stop a particular case ,if you don't use break all the case excuted and all the values ).Lastly print the variable which store the image using html img embed tag.

Check this code in your browser .
<?php

Download PHP PDF php basic tutorial pdf


echo "Making by umar farooque khan";
switch(rand(1,16))
{
   case 1:
$greet ="1.jpg";
break;
   case 2:
$greet ="2.jpg";
break;
   case 3:
$greet ="3.jpg";
break;
   case 4:
$greet ="4.jpg";
break;
case 5:
$greet ="a(1).jpg";
break;
   case 6:
$greet ="a(2).jpg";
break;
   case 7:
$greet ="a(3).jpg";
break;
   case 8:
$greet ="a(4).jpg";
break;


case 9:
$greet ="a(5).jpg";
break;
   case 10:
$greet ="a(6).jpg";
break;
   case 11:
$greet ="a(7).jpg";
break;
   case 12:
$greet ="a(8).jpg";
break;


case 13:
$greet ="a(9).jpg";
break;
   case 14:
$greet ="a(10).jpg";
break;
   case 15:
$greet ="a(11).jpg";
break;
   case 16:
$greet ="a(12).jpg";
break;

}
echo"<img src='$greet' height='900px' width='1200px'>";
?>



For more on php visit php-tutorial

Thursday, 1 August 2013

Upload File Using Php

Making Upload File Script Using Php html and java script with validation


<pre><!DOCTYPE html>
<head>
</head>
<body></pre>  //use pre tag to not show these tags in server
<center>
< form action = " upload.php" method = " post " enctype = " multipart / form-data " 
name = " upload  " >
  < table width =" 200 " border = " 2 " cellspacing = " 2 " cellpadding = " 2 " >
    < tr >
      < td > Upload a file< /td >
      < td > < input name = " file " type = " file "  / > < / td >
    < / tr >
    < tr >
      < td colspan = " 2 " > < center >
          < input name = " sub " type = " submit " value = " upload " />
        < / center >< / td >
    </tr>
  </table>

</form>
</center>
</body>
</html>
<?php
error_reporting(0);
if(isset($_POST['sub'])) 
     { 
      $name=$_FILES['file']['name'];
 $type=$_FILES['file']['type'];
 $size=$_FILES['file']['size'];
 $tmp=$_FILES['file']['tmp_name'];
        
if($name=='')
{
echo"<script>alert('upload file')</script>";
exit();
}

if(( $type == "image/jpeg" )||($type=="image/gif")||($type=="image/png"))
{
if($size<=500000)
{
if (file_exists("upload file" . $_FILES["file"]["name"]))
 {
 echo $_FILES["file"]["name"] . " already exists. ";
 exit();
 }
 move_uploaded_file($tmp,"$name");
                      echo"<center> <font color='pink' ><h2>successfully uploaded</h2></font><br>".""."<img src=$name> </center>";   
   }
 
 else
 {
 echo"more size";
 }
 
}   
 else
 {
 echo"type not support";
 } 
 
 
 
 
 }

?>

For more php tutorial PHP-tutorial
Output

upload

Sunday, 28 July 2013

html5 voice seach

Making voice search using html5 




<!DOCTYPE html>
<html>
  <style type="text/css">
  #uk
  {
  border-radius:35px;
  -wekit-border-radius:35px;

  }

 </style>

 <body></br>
 </br></br>
 </br></br>
 </br></br>
 </br></br>
 </br>
 <center>
<table id="uk" width="200"  cellspacing="2" cellpadding="2" height="100"  bgcolor="#0000FF">
  <tr>
    <td><center>uk</center>
  <form action="http://www.google.com/search" method="get"  >
   <input type="text" id="uk" name="q" size="25″ maxlength="255″ value=""  x-webkit-speech/>
 <center>  <input type="submit" value="SearchinG"/></center>
  </form>
</td>
  </tr>
</table>
</center>
 </body>
 </html>

Output



search bar



Saturday, 27 July 2013

Making Counter Using Php

Making Counter using php and html with the help of file handling.

Cont your real visiter using this very simple counter.

<?php
error_reporting(0);
$file = file_get_contents("counter.txt");
$data=$file;
$newdata=$data+1;
$newfile=fopen("counter.txt","w");
fwrite($newfile,$newdata);
?>
<html>
<table width="auto" border="2" cellspacing="2" cellpadding="2" bgcolor="#00FFFF" bordercolor="#0000FF" >
  <tr>
    <td><?php echo $newdata;  ?></td>
  </tr>
</table>
</html>

Output



For more on php visit php-tutorial


Download PHP PDF php basic tutorial pdf


counter

Friday, 26 July 2013

Making Image Site


Image site using html and css


<!DOCTYPE html>
<head>
<style type="text/css">
.bor
{
text-align:center;
height:230px;
width:150px;
border:#000000 solid 2px;
padding:1px;
float:left;
margin:2px;
}
.bor img
{
height:200px;
width:140px;
margin:1px;
border:#000000 2px solid;
}
.bor img a:hover img
{
border:#00CC66 solid 2px;
}

.img uk
{
 text-align:center;
  font-weight:normal;
  width:120px;
  margin:0px;

}
#container
{
width:900px;
text-align:center;

}
</style>
</head>
<body>
<div id="container">
<div class="bor" ><img src="1.jpg">
<div class="uk">umar</div>
</div>
<div class="bor"><img src="1.jpg">
<div class="uk">umar</div>
</div>
<div class="bor"><img src="1.jpg">
<div class="uk">umar</div>
</div>
<div class="bor"><img src="1.jpg">
<div class="uk">umar</div>
</div>
<div class="bor"><img src="1.jpg">
<div class="uk">umar</div>
</div>
<div class="bor"><img src="1.jpg">
<div class="uk">umar</div>
</div>


<div class="bor"><img src="1.jpg">
<div class="uk">umar</div>
</div>
<div class="bor"><img src="1.jpg">
<div class="uk">umar</div>
</div>
<div class="bor"><img src="1.jpg">
<div class="uk">umar</div>
</div>
<div class="bor"><img src="1.jpg">
<div class="uk">umar</div>
</div>
<div class="bor"><img src="1.jpg">
<div class="uk">umar</div>
</div>
<div class="bor"><img src="1.jpg">
<div class="uk">umar</div>
</div>
<div class="bor"><img src="1.jpg">
<div class="uk">umar</div>
</div>
<div class="bor"><img src="1.jpg">
<div class="uk">umar</div>
</div>
<div class="bor"><img src="1.jpg">
<div class="uk">umar</div>
</div>
</div>
</body>
</body>
</html>

Download PHP PDF php basic tutorial pdf


Output


image_site
image site

Thursday, 25 July 2013

css3

Basic of css 3

Cascading Style Sheets (CSS) is a style sheet format, endorsed by the World Wide Web Consortium (W3C) that works with HTML documents using simple syntax and various style properties denoted by English language keywords.
CSS1 (Version 1.0) incorporated innumerable layout settings suitable for downloadable HTML pages. CSS2 (Version 2.0) provides additional XML support, downloadable fonts and audio presentations for visually impaired users. CSS3 (Version 3.0) continues in development and its improved highlights include: vertical text, extensive backgrounds and borders, speech recognition and user interaction.
Most web browsers support CSS3 as it becomes more popular and more web designers implement the use of CSS3 in their layout design. Web designers and web developers CSS3 can find valuable employment all over the world.
Informative online training articles based on CSS3 including tutorials on Selectors, multi column features, advantages, opacity, wrapping and link usage and creation are covered in this section. CSS3 is modularized, providing greater flexibility and capability for the developer or programmer. Maintenance of the system is improved from earlier versions and allows for individual modules to be tested and integrated with ease. CSS3 has become popular with developers due to faster completion time, more flexibility and easier maintenance of web pages.


Css 3 is the latest version of css .Css3 provide new feature areb given below.

Some of the most important CSS3  properties are:
  • Selectors
  • Animations
  • Box Model
  • Backgrounds and Borders
  • Text Effects
  • 2d Transformations
  • 2d Transformations
  • Animations
  • Multiple Column Layout
  • User Interface
  • Transitions Effects
  • Border Radius
  • Vertical Column
  • shapes
  • boxes

All the propeties explain in next posts 


  1. CSS3 Advantages

    CSS3  Advantages Having got a detailed idea of CSS3 and its features with some of the vital attributes of CSS3 let us see the advantages or uses of CSS3 in brief in this section. There are numerous and variety of areas in which CSS3 makes it mark and thus users finds it one of the comfortable and powerful tools for usage thus making it a reason

Drop Down Menu using Css


Making of Drop down menu using html and php


The file of html save in any name but css file save in menu.css and link in the html file.
<!DOCTYPE html>
<head>
<link rel="stylesheet" href="menu.css">
</head>
<body>
<big>uk<big>
<div  class="menu">
<ul>
<li><a href="#">Web Devolopment</a>
<ul>
<li><a href="#">java Script</a></li>
<li><a href="#">j Query</a></li>
<li><a href="#">Html</a></li>
<li><a href="#">css</a></li>
</ul>
</li>
</ul>
</div>
<div  class="menu">
<ul>
<li><a href="#">Web Devolopment</a>
<ul>
<li><a href="#">java Script</a></li>
<li><a href="#">j Query</a></li>
<li><a href="#">Html</a></li>
<li><a href="#">css</a></li>
</ul>
</li>
</ul>
</div>
<div  class="menu">
<ul>
<li><a href="#">Web Devolopment</a>
<ul>
<li><a href="#">java Script</a></li>
<li><a href="#">j Query</a></li>
<li><a href="#">Html</a></li>
<li><a href="#">css</a></li>
</ul>
</li>
</ul>
</div>
<div  class="menu">
<ul>
<li><a href="#">Web Devolopment</a>
<ul>
<li><a href="#">java Script</a></li>
<li><a href="#">j Query</a></li>
<li><a href="#">Html</a></li>
<li><a href="#">css</a></li>
</ul>
</li>
</ul>
</div>

</body>
</html>


css code

/* CSS Document */
.menu
{padding-left:45px;
margin:0px;
}

.menu ul

{
padding:0px;
margin:0px;
line-height:30px;
}


.menu li
{
padding:0px;
margin:0px;
list-style:none;
float:left;
position:relative;
background-color:#660000;
}
.menu a
{
width:130px;
 height:30px;
 display:block;
 text-decoration:none;
 color:#FF0000;
 border:2px solid #333399;
 text-align:center;
 }

.menu ul ul
{
position:absolute;
visibility:hidden;
top:30px;
}

.menu ul li:hover  ul
{
visibility:visible;
}

.menu a:hover
{
background:#000099;
color:pink;
}


Output

drop down menu
drop down menu

claim

QWZFHK7T7QU7

calculator

Making calculator using php

Html , php and java script codecode


<!DOCTYPE html>
<head>
</head>
 <br> <br> <br>
<center>
<table width="200"  border = "2"  bordercolor = "#000033"  bordercolor = "#FF00FF" >
  <tr>
    <td>
<table  border = "1"  bgcolor = "#FFFFFF"  width = "210" height = "30" >
  <tr>
    <td>
<?php
error_reporting(0);
if( isset ($_POST ['sub'] ) )
                {
     $value1 = $_POST ['val1'] ;
                 $value2 = $_POST ['val2'] ;
     $cal = $_POST ['cal'] ;
                                 If ( $value1 == '' )
                                 {
                                 echo " < script >  alert ( ' please enter value ' ) < / script > " ;
                                 exit() ;
                                 }
                                 If ( $value2 == '' )
                                 {
                                     echo " < script >  alert ( ' please enter value ' ) < / script > " ;
                                                  exit() ;
                                     }
               
              If ( $cal == '' )
                                 {
                                     echo " < script >  alert ( ' please enter value ' ) < / script > " ;
                                                  exit() ;
                                     }
                                                switch ( $cal )
                                                {
                                                 case  "+"  :
                                                 echo $value1 + $value2 ;
                                                break ;
                                               
                                                case  "-"  :
                                                 echo  $value1 - $value2 ;
                                                break ;
                                               
                                                case  "*"  :
                                                 echo  $value1 * $value2 ;
                                                break ;
                                               
            case  "/"  :
                                                 echo $value1 / $value2 ;
                                                break ;
                                                }
                }
?>
               
</td>
  </tr>
</table>
< center >< br >< br >< br >< strong >< font color="#0066FF" >Simple Umar Calculator< /font >< strong>
< body bgcolor = "#00FFFF" >
< form action = "cal.php"  method = "post" >
< table >
  <tr>
    <td> Value1: </td>
    <td> <input name = "val1"  type = "text" ></td>
  </tr>
    <td> Sign: </td>
    <td> <input name = "cal" type = "text"> </td>
  </tr>
  <tr>
    <td> Value2: </td>
    <td> <input name = "val2" type = "text" > </td>
  </tr>
  <tr>
  <tr>
    <td colspan = "2"> < center >< input name = "sub"  type = "submit" value =  "CaLcUlAtE" > </center> </td>
    </tr>
</table>
</form>
</center>

</td>
  </tr>
</table>
</center>



</body>
</html>



For more on php visit php-tutorial

Download PHP PDF php basic tutorial pdf

calculator
umar farooque khan

Sunday, 21 July 2013

Maintain a Virus

Tips to Maintain a Virus Free Computer

Is your computer infected with virus? Do you often get mysterious error messages? Well, this is a common problem faced by almost all the computer users across the globe.


Even though some of them are harmless, they do have the ability to do a number of nasty things up to and including damaging or erasing sensitive data from your computer. However, there are ways to keep viruses and other malware away from your computer. Here are the 12 tips to maintain a virus free computer:
  1. Email is one of the common ways by which your computer can catch a virus. So, it is always recommended to stay away from SPAM. Open only those emails that has it’s origin from a trusted source such as those which comes from your contact list.

    If you are using your own private email host (other than Gmail, Yahoo, Hotmail etc.) then it is highly recommended that you use a good spam filter. And finally NEVER click on any links in the emails that comes from untrusted sources.

  2. USB thumb/pen drives is another common way by which viruses spread rapidly. So, it is always a good habit to perform a virus scan before copying any data onto your computer. NEVER double-click the pen drive to open it. Instead right-click on it and select the option “open”. This is the safe way to open a pen drive.

  3. Be careful about using MS Outlook. Outlook is more susceptible to worms than other e-mail programs, unless you have an efficient antivirus programs running. Use Pegasus or Thunderbird (by Mozilla), or a web-based program such as Hotmail or Yahoo (In Firefox).

  4. As we all know, Internet is the main source of all malicious programs including viruses, worms, trojans etc. In fact, Internet contributes to virus infection by up to 80 percent. So, here are the tips for safe surfing habits so that you can ward off virus infection up to the maximum possible extent.

    • Do not click on pop-up windows that announce a sudden disaster in your city or announce that you’ve won an hourly prize. They are the ways to mislead Internet users and you should never trust them.

    • You can also use a pop-up blocker to automatically block those pop-ups.

  5. Most of us use search engines like Google to find what we are looking for. It is quite obvious for a malicious website to get listed in the search results. So, in order to avoid visiting those untrusted malicious websites, you can download and install the AVG LinkScanner which is a freeware. This tool can become very handy and will help you to stay away from those malicious websites.

  6. Install a good antivirus software and keep it updated. Also perform full system scan periodically. It is highly recommended that you turn on the automatic update feature. This is the most essential task to protect your PC from viruses. If PC security is your first option then it is recommended that you go for a shareware antivirus software rather than using the freeware stuffs.

  7. Most of the antivirus programs offer the auto-protect feature that provides real-time security for your PC. Make sure that this feature is turned on.

  8. In addition to an antivirus, it is worthwhile to spend a few bucks on a good anti-spyware program. This can provide extra security for your computer. 
  9. Never open any email attachments that come from untrusted sources. If it is a picture, text or sound file (these attachments end in the extensions .txt, .jpeg, .gif, .bmp, .tif, .mp3, .htm, .html, and .avi), you are probably safe, but still perform a virus scan before opening them.

  10. Do not use disks that other people gave you, even from work. The disk could be infected with a virus. Of course, you can run a virus scan on it first to check it out.

  11. Set up your Windows update to automatically download patches and upgrades. This will allow your computer to automatically download any updates to both the operating system and Internet Explorer. These updates fix security holes in both pieces of software.

  12. While you download files from untrusted websites/sources such as torrents, warez etc. make sure that you run a virus scan before executing them.

  13. And finally it is recommended not to visit those websites that feature illegal/unwanted stuffs such as cracks, serials, warez etc. as they contribute much in spreading of virus and other malicious programs.

Update: If you want to hack facebook and other email account passwords, please use the best Hacking Software- Winspy Keylogger which is FUD (Fully UnDetectable). This is personally recommeded keylogger from wildhacker.

Saturday, 20 July 2013

Tricks and tips

1. Disable USB Devices:

Disabling USB ports can be a smart idea to add security to the computer. This can be really handy if the computer is on a public place where the chances of virus and other malware infection is really high. You can easily disable access to USB ports with the following registry hack:
1.    Open the Registry Editor (Start -> Run -> Type regedit and hit Enter)
2.    In the registry, navigate to the following key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor
3.    In the right-side pane, double-click on “Start”.
4.    In the “Value data” field enter 4 and click on “OK”.
5.    Close the Registry Editor and reboot.
To enable USB devices, follow the same procedure as above except in the step-4 enter 3 in the “Value data” field.

Works on Windows XP, Vista and 7.


2. Disable the Windows Task Manager:

Need to limit access to your computer by disabling the Task Manager? Here is a simple registry hack to do this:
1.    Open the Registry Editor and navigate to the following key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies
2.    Right-click on “Policies”, select New -> Key and name the key as System.
If you are on Windows XP, you need not create the new key “System” as it is already present in it. So, you can directly navigate to: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System in the Step-1 itself.
3.    Right-click on “System”, create a new “DWORD” and name it to DisableTaskMgr.
4.    Double-click on the DWORD “DisableTaskMgr” and set the “Value data” to 1 (0=Enable, 1=Disable).
5.    To enable the Task Manager, Set the “Value data” back to 0.
Works on Windows XP, Vista and 7.

3. Add Programs to Windows Startup:
You can now add your favorite programs to Windows Startup without the need for using the start-up folder. Here is a way to do this:
1.    Open the Registry Editor and navigate to the following key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
2.    On the right-side pane, create a new “String Value” and rename it to the name of the program that you want to add (you can give any name, it doesn’t matter).
3.    Double-click on the “String Value”, in the “Value data” field add the path of the executable program that has to execute at startup.
4.    Reboot the computer to see the changes in effect.
Works on Windows XP, Vista and 7.