LoadRunner11 录制的脚本请求重复出现两次 15
每次录制脚本的时候,请求都会重复两次,以下是脚本的内容:Action(){web_url("WebTours","URL=http://127.0.0.1:1080/We...
每次录制脚本的时候,请求都会重复两次,以下是脚本的内容:
Action()
{
web_url("WebTours",
"URL=http://127.0.0.1:1080/WebTours/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t46.inf",
"Mode=HTML",
LAST);
web_url("WebTours_2",
"URL=http://127.0.0.1:1080/WebTours/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t47.inf",
"Mode=HTML",
EXTRARES,
"Url=../favicon.ico", "Referer=", ENDITEM,
LAST);
return 0;
}
网上对于这个问题都没有什么好的解决方法,很愁闷,到底是由于什么原因导致的。求大神帮忙~ 展开
Action()
{
web_url("WebTours",
"URL=http://127.0.0.1:1080/WebTours/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t46.inf",
"Mode=HTML",
LAST);
web_url("WebTours_2",
"URL=http://127.0.0.1:1080/WebTours/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t47.inf",
"Mode=HTML",
EXTRARES,
"Url=../favicon.ico", "Referer=", ENDITEM,
LAST);
return 0;
}
网上对于这个问题都没有什么好的解决方法,很愁闷,到底是由于什么原因导致的。求大神帮忙~ 展开
1个回答
2015-07-24
展开全部
if(isset($_POST['submit'])){
$sql1="update H_Guest set G_TrueName='{$_POST['G_TrueName']}',G_Sex='{$_POST['G_Sex']}',G_IDNum='{$_POST['G_IDNum']}',G_Address='{$_POST['G_Address']}',G_Phone='{$_POST['G_Phone']}',G_Email='{$_POST['G_Email']}' where G_ID='{$_POST['G_ID']}'";
$query1=mysql_query($sql1);
if($query1){
echo "<script language='javascript'>";
echo "alert";
echo "window.location.href='personal.php';";
echo "</script>";
}
}
$sql1="update H_Guest set G_TrueName='{$_POST['G_TrueName']}',G_Sex='{$_POST['G_Sex']}',G_IDNum='{$_POST['G_IDNum']}',G_Address='{$_POST['G_Address']}',G_Phone='{$_POST['G_Phone']}',G_Email='{$_POST['G_Email']}' where G_ID='{$_POST['G_ID']}'";
$query1=mysql_query($sql1);
if($query1){
echo "<script language='javascript'>";
echo "alert";
echo "window.location.href='personal.php';";
echo "</script>";
}
}
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询