<html dir="rtl">
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
</head>
<body>
<form method="POST">
<input type="text" name="username" size="20"></p>
<p><input type="text" name="password" size="20"></p>
<p><input type="text" name="email" size="20"></p>
<p><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p>
</form>
<?php
$username=$_REQUEST['username'];
$password=$_REQUEST['password'];
$email=$_REQUEST['email'];
$con=mysql_connect("localhost","root","");
mysql_query("SET CHARACTER SET utf8;");
mysql_query("SET SESSION collation_connection = 'utf8_persian_ci'");
mysql_select_db("5",$con);
$a="INSERT INTO login(username,password,email) VALUES($username,$password,$email)";
if(mysql_query($a)){
print "ok";
}else{
print "no";}
?>
</body>
</html>