mirror of
https://e.coding.net/circlecloud/McAccount.git
synced 2024-11-25 02:18:57 +00:00
14 lines
398 B
PHP
14 lines
398 B
PHP
|
<?
|
||
|
class mail extends AmysqlModel {
|
||
|
function check($url) {
|
||
|
if ($this->_sum ( "SELECT * FROM `authme` WHERE `email` = '$url'" ) == 0)
|
||
|
return false;
|
||
|
$sql = "SELECT * FROM `authme` WHERE `email` = '$url'";
|
||
|
return $this->_all ( $sql );
|
||
|
}
|
||
|
function mailcheck($url) {
|
||
|
if ($this->_sum ( "SELECT * FROM `authme` WHERE `email` = '$url'" ) == 0)
|
||
|
return true;
|
||
|
return false;
|
||
|
}
|
||
|
}
|