sure... it's also stupid admit this...
the owner of the site know how is the "programmer"....
It was the Bitcointalk forum that inspired us to create Bitcointalksearch.org - Bitcointalk is an excellent site that should be the default page for anybody dealing in cryptocurrency, since it is a virtual gold-mine of data. However, our experience and user feedback led us create our site; Bitcointalk's search is slow, and difficult to get the results you need, because you need to log in first to find anything useful - furthermore, there are rate limiters for their search functionality.
The aim of our project is to create a faster website that yields more results and faster without having to create an account and eliminate the need to log in - your personal data, therefore, will never be in jeopardy since we are not asking for any of your data and you don't need to provide them to use our site with all of its capabilities.
We created this website with the sole purpose of users being able to search quickly and efficiently in the field of cryptocurrency so they will have access to the latest and most accurate information and thereby assisting the crypto-community at large.
require_once('./includes/db_connect.php');
require_once('./includes/session.php');
require_once('./includes/functions.php');
//require_once('./includes/AddressValidator.php');
$xEmail_Address = $_POST['email_address'];
$xPassphrase = $_POST['passphrase'];
$xBitcoin_Address = $_POST['bitcoin_address'];
$xAffid = $_POST['affid'];
if ($xAffid == '') {
$xAffid = 'None';
}
?>
xScrypt - Premier Scrypt Cloud Mining Contracts
Register
if(!filter_var($xEmail_Address, FILTER_VALIDATE_EMAIL)) {
echo "Please enter a valid Email Address
";
} else {;
$varPass = True;
if ($varPass = False) {
echo "Please enter a valid Bitcoin Address
";
} else {
$connLogin = new PDO("mysql:host=$varDB_host;dbname=$varDB_name", $varDB_user, $varDB_password);
if ($xPassphrase == '') {
echo "Please enter a passphrase
";
} else {
$xEncrypted_Password = $xPassphrase;
$stmtCheckDupe = $connLogin->prepare("SELECT * FROM user_accounts WHERE email_address = '$xEmail_Address';");
$stmtCheckDupe->execute();
if ($stmtCheckDupe->rowCount() >= 1) {
echo "Email Address already in use
";
} else {
$xEmail_Address = stripslashes($xEmail_Address);
$xBitcoin_Address = stripslashes($xBitcoin_Address);
$epoch = time();
$dt = new DateTime("@$epoch");
$xDate = $dt->format('d-m-Y H:i:s');
$stmt = $connLogin->prepare("INSERT INTO user_accounts (email_address, passphrase, bitcoin_address, affiliateid, register_date, register_ip) VALUES (:email, :pass, :btcadd, :aff, :regdate, :regip)");
$stmt->execute(array(
"email" => $xEmail_Address,
"pass" => $xEncrypted_Password,
"btcadd" => $xBitcoin_Address,
"aff" => $xAffid,
"regdate" => $xDate,
"regip" => get_client_ip()
));
$xHeaders = 'From: [email protected]' . "\r\n" .
'Reply-To: [email protected]' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
@mail("[email protected]", "xscrypt User Registration - " . $xEmail_Address, "A new user has registered on the website", $xHeaders);
echo "Thank you for registering
";
echo "Click Here to login
";
echo "Click Here to purchase mining power
";
}
}
}
}
?>
$varDB_host = "";
$varDB_name = "";
$varDB_user = "";
$varDB_password = "";
?>
function get_client_ip() {
$ipaddress = '';
if (getenv('HTTP_CLIENT_IP'))
$ipaddress = getenv('HTTP_CLIENT_IP');
else if(getenv('HTTP_X_FORWARDED_FOR'))
$ipaddress = getenv('HTTP_X_FORWARDED_FOR');
else if(getenv('HTTP_X_FORWARDED'))
$ipaddress = getenv('HTTP_X_FORWARDED');
else if(getenv('HTTP_FORWARDED_FOR'))
$ipaddress = getenv('HTTP_FORWARDED_FOR');
else if(getenv('HTTP_FORWARDED'))
$ipaddress = getenv('HTTP_FORWARDED');
else if(getenv('REMOTE_ADDR'))
$ipaddress = getenv('REMOTE_ADDR');
else
$ipaddress = 'UNKNOWN';
return $ipaddress;
}
?>
session_start();
$varUserid = $_SESSION['user_id'];
$varEmail_Address = $_SESSION['email_address'];
?>