누군가가 왜 그런지 설명해 주시겠습니까? 여기에 전체 코드가 있습니다.PHP와 MySQL T_CONSTANT_ENCAPSED_STRING 오류
<?php
$country = "UNKNOWN";
if ($_REQUEST['id'] == "register") {
$name = $_POST['Name'];
if ($_POST['Email'] == $_POST['emailrepeat']) {
$email = $_POST['Email'];
}
$username = $_POST['username'];
if ($_POST['password'] == $_POST['PasswordAgain']) {
$password = $_POST['password'];
}
$address = $_POST['Address'];
$county = $_POST['billingState'];
$city = $_POST['city'];
$zip = $_POST['Zip'];
$code = rand(11212,123243132);
mysql_connect("extraterrestrial.x10.mx","extrater","*******");
mysql_select_db("extrater_keys");
$moi = "VALUES ("$name","1","0","$password","$_SERVER['REMOTE_ADDR']","0","$country","0","$county","$country","$city","$email","$zip","$address","$code")";
$query = "('INSERT INTO info (name, points, isvalidated, password, ip, banned, cc, paypal, state, country, city, email, fullname, zipcode, address, code)"; }
mail($email, "Le Prizes Confirmation E-Mail", "Thank you for registering with us! Your confirmation link is as follows. \n http://extraterrestrial.x10.mx/confirm.php?code=" + $code + " Happy Earning!");
header("Location: thanks.php");
?>
이것은 내 GPT 프로세스 스크립트로 사용자를 등록합니다. 그것은 나에 의해 만들어졌다.
S의 완벽한 스크립트 QL 주입. – stryba
감사합니다. 어떻게하면이를 고칠 수 있습니까? 보안을 강화하면 내 사이트의 관리자가 될 수 있습니다! –