Monday, June 18, 2012

How to earn money online

There are many people who want to earn money online, but don't know which site to be preferred, shouldthey choost PTC (Paid to Click advertisings), PTR (Paid to read) or any others. I strongly recommend choosing PTC sites like - http://tinyurl.com/naveenjain 



Sunday, June 10, 2012

php basics - echo


This is a good tutorial for basic php. This tells about a function echo.
<?php
echo "";

?>
"" can contain string and will show correct value, whereas '' will show string name, and use \n to leave ' or ".

Thursday, June 7, 2012

How to create a contact me form in php


You not need to change the coding below, just change the value of $email to own email. This form will send you a email at $email(Value you fixed) address
<?php
error_reporting (E_ALL ^ E_NOTICE);

?><!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=utf-8" />
<title>Contact form</title>
</head>

<body>
<?php
if ($_POST['submit']){
         $email = "admin@naveenjain.webatu.com"; // enter your own email 
$n = $_POST['name'];
$e = $_POST['email'];
$t = $_POST['telephone'];
$c = $_POST['country'];
$ci = $_POST['city'];
$a = $_POST['address'];
$comment = $_POST['comment'];
if ($n){
if ($e){
if ($t){
if ($c){
if ($ci){
if ($a){
if ($comment){

$webmaster = "$email";
$headers = "From: $n<$webmaster>";
$subject = "Mail from contact form";
$message = "You have got a mail from $n.<h2>User's Details</h2> <br />User's email is $e. Telephone number is $t. Country is $c and city is $ci and address is $a. His comment was $comment";
if (mail($e, $subject, $message, $headers)){
echo "Your message has been sent";

}
else
echo "Sorry, the message could not be sent please try again after sometime";


}
else
echo "enter your comment";




}
else
echo "Enter your address";


}
else
echo "enter your city";

}
else
echo "enter your country";

}
else
echo "enter your telephone";
}
else
echo "enter your email";



}
else
echo "Enter your name";

}
else
echo "<form action='' method='post'>
<table>
<tr>
<td>Name</td>
<td><input type='text' name='name' /></td>
</tr>
<tr>
<td>Email</td>
<td><input type='text' name='email' /></td>
</tr>
<tr>
<td>Telephone</td>
<td><input type='tel' name='telephone' /></td>
</tr>
<tr>
<td>Country</td>
<td><input type='text' name='country' /></td>
</tr>
<tr>
<td>City</td>
<td><input type='text' name='city' /></td>
</tr>
<tr>
<td>Your address</td>
<td><textarea name='address'></textarea></td>
</tr>
<tr>
<td>Comment</td>
<td><textarea name='comment'></textarea></td>
</tr>
<tr>
<td></td>
<td><input type='submit' value='Send us query' name='submit' /></td>
</tr>

</table></form>";

?>
</body>
</html>

Friday, May 25, 2012

How to send friend request when you are blocked

in this tutorial, i will tell you how to send a friend request when you are blocked, but remember that you need email of person to who you are sending requesting. So now continue the tutorial-
1. go to http://facebook.com/invite.php and then you need to enter email of friend, and add a message(not neccessary). If you want to send many friend request at a time then use comma after each email.
2. After filling form, press Return key (Enter key) or click Invite Your friends, you are done, Enjoy.
3. It will open a webpage showing the list of friends you have sent mails. This is proof too.

Thursday, May 17, 2012

create folder without name

In this tutorial, i am going to tell you how to create a folder without name, You must keep holding Alt button when creating or rename the folder as i  told you in this video to press it and then you need to press '0160' without quotes and then press enter. You are done, enjoy.

Tuesday, May 15, 2012

Get free web hosting

You can get free hosting from any site but i recommend this site 000webhost.com
 -

This site has lots of features like - upload  more than  1 GB space, 500 templates, easy to use, , and lots more its free.Hurry join the site.

Saturday, May 12, 2012

Hide hard drives

If you are a window user and want to hide a hard drive, then you should follow the following steps-
1. Go to run (Press Window key + r)
2. Write cmd and press return (Enter key)
3. Enter diskpart in cmd (If you are using windows 7 or vista or later then you need to provide admin access)
4. Now write List volume. It will list all hard disks there.
5. Now you should select volume by entering select volume 'Your serial number of Hard disk'(Remove quotes)
6. Now you should Write remove letter 'Your hard disk name such as g, d, e,'
7.Your hard drive is now hidden. Enjoy.

Now how to unhide it-
1.Follow step 1-5
2. Now you should write assign letter 'Letter you want to assign'.
3.Your hard drive is unhidden. Enjoy.