���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/alphpwcp/public_html/us/require_verify.php
���ѧ٧ѧ�
<?php session_start(); $username=""; if(isset($_SESSION['SESS_LOGGEDIN']) == TRUE) { header("Location: " . $config_basedir); } require ("config.php"); require ("db.php"); ?> <?php $error =""; if(isset($_POST['submit'])){ echo $username; // Captcha verification is Correct. Final Code Execute here! $username = mysql_real_escape_string($_POST['userBox']); $password = mysql_real_escape_string($_POST['passBox']); $loginsql = "SELECT * FROM logins WHERE username = '$username' AND password = '$password'"; $loginres = mysql_query($loginsql); $numrows = mysql_num_rows($loginres); if($numrows == 1) { $loginrow = mysql_fetch_assoc($loginres); $_SESSION['SESS_LOGGEDIN'] = 1; $_SESSION['SESS_USERNAME'] = $loginrow['username']; $_SESSION['firstname'] = $firstname; $_SESSION['lastname'] = $lastname; $_SESSION['walletid'] = $walletid; $_SESSION['member_no'] = $member_no; $_SESSION['profit'] = $member_no; $_SESSION['interest_rate'] = $profit; $_SESSION['max_period'] = $max_period; $_SESSION['max_invest'] = $max_invest; $_SESSION['invest_period'] = $invest_period; $_SESSION['invest_amt'] = $invest_amt; $_SESSION['investors_no'] = $investors_no; $_SESSION['cashout_no'] = $cashout_no; $_SESSION['active_no'] = $active_no; $_SESSION['SESS_USERID'] = $loginrow['id']; header("Location: " . $config_basedir ."trade.php"); } else { $error= "Incorrect username/password!"; } } else { } ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�