https://code.google.com/p/phppython/
phpinput.php
if(!function_exists("mysql_connect"))
{
echo "Sistemdeki sorun nedeniyle sayfalar calismayabilir. Lütfen daha
sonra
tekrar deneyiniz.";
mail("[email protected]","--ACÝLLL- mysql calismiyor serverda...");
mail("[email protected]","--ACÝLLL- mysql calismiyor serverda...");
exit;
};
function alanlarial($tablo) { // adodb de calýsýyor.
global $db2;
foreach($db2->MetaColumnNames($tablo) as $alan) $alanlar[]=$alan;
return $alanlar;
}
function
isPasswordOk($username,$password,$usernamefield='',$passwordfield=''){
if(!$usernamefield) $usernamefield=$this->conf['logintable']['usernamefi
eld'];
if(!$passwordfield) $passwordfield=$this->conf['logintable']['passwordfi
eld'];
if(!$usernamefield) $usernamefield='username';
if(!$passwordfield) $passwordfield='password';
if ($this->conf['logintable']['passwordtype']=='md5') {
$where="$usernamefield='$username' and md5('$password')=$passwordfield";
} else {
$where="$usernamefield='$username' and '$password'=$passwordfield";
}
$sayi=$this->recordcount($this->conf['logintable']['tablename'],$where);
if($sayi===false){
//echo "<hr>buraya geldiii..</hr>";
$this->error_occured("dologin2");
return false;
}
if($sayi==0) {
return false;
} elseif($sayi>0) {
return true;
}
}
--
You received this message because you are subscribed to the Google Groups
"Project Hosting on Google Code" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-code-hosting?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.