Author Archive

php class and it properties

March 4th, 2016

In this step I would like to show some identify php class and it properties also identify object of the class as below:

  • class person is identify the class name
  • var $name; var $age; var $gender is proerties of the class person
  • $obj = new Person(); identify variable $obj as object of class Person
  • so $obj can access all properties and method in class person

class Person {
var $name;
var $age;
var $gender;
$obj = new Person();

$obj->name ="Dara";
$obj->age = 15;
$obj->gender = "Male";

echo "Person Name: $obj->name <br />";
echo "Person Age: $obj->age <br />";
echo "Person Gender: $obj->gender <br />";

Enjoy your cloud storage file anywhere anytime with Gmail Drive.

December 11th, 2011

What is Gmail Drive?

Gmail Drive is shell extension software that allows to connect from your computer through to your Gmail account for store your data anytime anywhere. In my opinion it is use as like dropbox. For detail information please check

1. Requirement

You have to create gmail account. Example: pisethnov at gmail dot com

2. Download Gmail Drive as link below (download  and use with your own risk. If want to make sure that is virus or not please check my post at

3. Install it with file setup.exe

 4. You will see a new drive(Gmail Drive) appear under My Computer in explorer.

 5. Right click on Gmail Drive and click on Login As

6. And fill out information login of your Gmail account

 Enjoy your cloud storage file anywhere anytime.

P.S: using this tutorial with your own risk.

Open God Mode in Windows 7

December 11th, 2011


God Mode is trick to show all windows setting under one click without needing to browse options and folders in the Control Panel.
1.Create a new folder.
2.Rename the folder to GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}  (you can change the name GodMode to any name as you wish) but remember not to change the text after GodMode.

This the trick to help you setting your windows. Please use with your own risk.

how to check your anti-virus is work functionality

December 11th, 2011
1. Open your notepage
2. Copy and past this code into notepad X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
3. save the to
4. if the anti-virus installed well in your computer it will detected. if not please change new anti-virus.

Hope it will test your anti-virus.

Register and Verify to Database with PHP & MySQL

January 28th, 2011

this code is not yet completed. But it is very helpful with your assignment.


$btn_submit = $_POST['btnsubmit'];
$txt_fname = $_POST['txtfname'];
$txt_lname = $_POST['txtlname'];
$txt_user    = $_POST['txtuser'];
$txt_pass    = $_POST['txtpassword'];
$txt_email = $_POST['txtemail'];
$txt_reemail = $_POST['txtreemail'];
$gender      = $_POST['gender'];
$txt_month   = $_POST['txtmonth'];
$txt_date    = $_POST['txtdate'];
$txt_year    = $_POST['txtyear'];
$code = session_id();


$check_verify_email = mysql_query("SELECT * FROM tbluser_verify WHERE email='".$txt_email."'");
$check_email = mysql_query("SELECT * FROM tbluser WHERE email='".$txt_email."'");
if(!mysql_num_rows($check_verify_email) && !mysql_num_rows($check_user)){
$insert_user = mysql_query("INSERT INTO tbluser (fname,lname,email,username,password,gender,month,date,year,active) VALUES ('".$txt_fname."','".$txt_lname."','".$txt_email."','".$txt_user."','".md5($txt_pass)."','".$gender."','".$txt_month."','".$txt_date."','".$txt_year."','0')",$cnn);
$insert_user_verify = mysql_query("INSERT INTO tbluser_verify (email,code) VALUES('".$txt_email."','".$code."')",$cnn);
echo "Your Registration is complete Please see the link for activate<br>";
//echo "$txt_email&&code=$code";
echo "active.php?email=$txt_email&&code=$code";
echo "Email Already Exist in Database.";

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>User Registration</title>
<form action="#" method="post">
<tr><td colspan="3"><h2>User Registration Form</h2></td></tr>
<tr><td>First Name:</td><td colspan="2"><input type="text" name="txtfname" /></td></tr>
<tr><td>Last Name:</td><td><input type="text" name="txtlname" /></td></tr>
<tr><td>Your Email:</td><td><input type="text" name="txtemail" /></td></tr>
<tr><td>Re-Enter Email:</td><td><input type="text" name="txtreemail" /></td></tr>
<tr><td>Username:</td><td><input type="text" name="txtuser" /></td></tr>
<tr><td>Password:</td><td><input type="password" name="txtpassword" /></td></tr>
<td>I am:</td>
<select name="gender">
<option value="0">Select Gender:</option>
<option value="1">Female</option>
<option value="2">Male</option>
<input type="text" size="3" name="txtmonth" value="month" />
<input type="text" size="2" name="txtdate" value="date" />
<input type="text" size="4" name="txtyear" value="year"/>
<td colspan="3" align="center"><input type="submit" name="btnsubmit" value="Register"</td>


if(isset($_GET['email'])&& isset($_GET['code'])){
$check_user_verify= mysql_query("SELECT * FROM tbluser_verify WHERE code='".$_GET['code']."' AND email='".$_GET['email']."'",$cnn);
$check_user = mysql_query("SELECT * FROM tbluser WHERE email='".$_GET['email']."'",$cnn);
//"UPDATE tblstudent SET gender='Male' WHERE studid='1'",$connect);
$insert = mysql_query("UPDATE tbluser SET active='".$ac."' WHERE email='".$_GET['email']."'");
echo "Welcome to the hell of PHP code...";
$delete = mysql_query("DELETE * FROM tbluser_verify WHERE code='".$_GET['code']."'");
WP2Social Auto Publish Powered By :