View Single Post
ישן 24-05-06, 15:20   # 2
BBman
חבר מתקדם
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
גיל: 32
הודעות: 608
שלח הודעה באמצעות MSN אל BBman

BBman לא מחובר  

לא ניסיתי את הקוד , אך תנסה זאת :

PHP קוד:
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html dir="rtl" lang="he"> 
<head> 
<meta http-equiv="content-type" content="text/html; charset=windows-1255" /> 
<title></title> 
</head> 
<body> 
<?php 
include ("errors.php"); 
include (
"fundtions.php"); 
connect_db("localhost","drecom","111111","nezah"); 
 if (
$_POST['username']==0
   { 
     echo 
$null_signup
     die; 
   } 
$user    =    $_post['username'];
$pass    =    $_post['password']
$query=mysql_query("SELECT * FROM `users` WHERE `password`='$pass' , `username`='$user'"); 
  if (
mysql_num_rows($query)==0
   } 
    echo 
$uncorreect_username_password
    die; 
   { 
ckkdkdkd 
?>
 
</body> 
</html>
  Reply With Quote