Php 我安装了一个婚姻脚本,当我收到电子邮件中的确认链接时,它不会进入个人资料页面
“>”###当我在中收到确认链接时,我安装了一个婚姻脚本 “>”电子邮件,它不会进入个人资料页面。 “>”注册后,我收到一条消息,(注册已完成。一封“>”电子邮件已发送给yo以确认注册。在您将“>”确认后,>您将能够创建您的个人资料),但是 “>”当我点击链接时,它似乎试图在3秒钟内完成一些事情,但在“>”一段时间后,它会说,(哎呀,您的注册尚未成功“>”完成……请正确地按照注册确认链接“>”完成注册)## “>”##注册代码_confirmation.php如下所示## “>”我需要你的帮助#Php 我安装了一个婚姻脚本,当我收到电子邮件中的确认链接时,它不会进入个人资料页面,php,Php,“>”###当我在中收到确认链接时,我安装了一个婚姻脚本 “>”电子邮件,它不会进入个人资料页面。 “>”注册后,我收到一条消息,(注册已完成。一封“>”电子邮件已发送给yo以确认注册。在您将“>”确认后,>您将能够创建您的个人资料),但是 “>”当我点击链接时,它似乎试图在3秒钟内完成一些事情,但在“>”一段时间后,它会说,(哎呀,您的注册尚未成功“>”完成……请正确地按照注册确认链接“>”完成注册)## “>”##注册代码_confirmation.php如下所示## “>”我需要你的帮助#
您介意与我们分享您的代码吗?这是我收到的确认链接,需要您的帮助。。。please@mazedlx我添加了代码if($\u请求['confirm']!=”)
应该是if($\u GET['confirm']!=”)
,另外:将$\u请求
替换为$\u GET
<?PHP
session_start();
include("connection.php");
$sqlsettings = "SELECT * from admin";
$resultsettings = mysql_query($sqlsettings);
$rowsettings = mysql_fetch_array($resultsettings);
$msg = 0;
if($_REQUEST['confirm']!=""){
$query = "SELECT * from users WHERE
ConfirmationCode='".mysql_escape_string($_REQUEST['confirm'])."' and
Status=0";
$result = mysql_query ($query);
if(@mysql_num_rows($result) != 0)
{
$row = @mysql_fetch_array($result);
$query5 = "update users set Status=1 where
ConfirmationCode='".mysql_escape_string($_REQUEST['confirm'])."'";
$result5 = mysql_query($query5);
$msg = 1;
$_SESSION['UserID_reg']=$row['UserID'];
$_SESSION['LoginID_reg']=$row['LoginID'];
$_SESSION['EmailAddress_reg']=$row['EmailAddress'];
$insert = "insert into user_profile(UserID)
VALUES(".$row['UserID'].")";
$resultt = mysql_query($insert);
$insert = "insert into partner_profile(UserID)
VALUES(".$row['UserID'].")";
$resultt = mysql_query($insert);
}
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Sharara - Registration Confirmation</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/registrationconfirmation.css">
</head>
<body topmargin="2" leftmargin="0" oncontextmenu="return false"
onselectstart="return false" ondragstart="return false" marginheight="2"
marginwidth="0" background="images/background.jpg">
<script language="javascript" src="js/matrimonials-v10.js"></script>
<!-- The top link table start's here -->
<center>
<!-- The top link table starts here -->
<div style="width: 762px;" align="right">
<?PHP
include("topheader.php");
?>
</div>
<!-- The top link table ends here -->
<!-- The topbanner table start's here -->
<div style="width: 762px; background-color: rgb(255, 255,
255);">
<div style="border-top: 1px solid rgb(143, 167, 191); border-
left:
1px solid rgb(143, 167, 191); border-right: 1px solid rgb(143, 167,
191);">
<!-- logo + banner space -->
<div style="padding: 2px 0pt 4px 0px;">
<div style="padding: 4px 0pt 4px 16px; width: 215px;
float:
left; text-align: left;">
<a href="index.php"><img src="images/matrimonial-logo-
sm.gif" border="0"></a>
</div>
</div><br clear="all">
</div>
<!-- logo + banner space -->
<div>
<div style="border-top: 2px solid rgb(143, 167, 191);
border-bottom: 2px solid #000000; background-color: #000000;">
<div style="margin: 1px 0pt 1px 0px; padding: 3px 0pt
3px
0px; background-color: #990000;" class="mediumwhitebold">
</div>
</div>
</div>
<!-- midlinks + services space end's here -->
</div>
</div>
<!-- The topbanner table ends here -->
</center>
<center>
<div style="width: 762px;">
<div class="mediumblack" style="border-style: solid; border-color:
rgb(143,
167, 191); border-width: 0px 1px 1px; background: rgb(255, 255, 255)
none
repeat scroll 0%; -moz-background-clip: initial; -moz-background-origin:
initial; -moz-background-inline-policy: initial;">
<div style="width: 760px;">
<div style="width: 30px; float: left;"><br></div>
<div style="margin: 0pt 0pt 10px 0px; width: 700px; float:
left;">
<div style="float: left; text-align: left; padding-top: 10px;">
<?PHP
if($msg == 1){
?>
<strong>Congratulations!</strong> Your Registration has been
successfully Completed...
<br>
<br>
<a href="profile1.php">Click here to create your profile now!</a>
your
profile will be shown in website after the approval from website
administration..
<?PHP
}
else{
?>
Oooops! Your Registration has not been successfully Completed...
Please
follow the Registration Confirmation Link propely to complete your
registration..
<?PHP
}
?>