提交信息后网站空间就出错,请问怎么解决。
错误信息:
空间显示CPU和最大连接数满了:
<br /><?php<br />require'conn.inc.php';<br />function insert($sql,$adds='添加成功',$url){<br /> $conn=connection();<br /> $result=<a style="max-width:90%" href="https://www.php.cn/zt/15713.html" target="_blank">mysql</a>_query($sql) or die(mysql_error());<br /> if($result)<br /> {<br /> echo("<script>alert('".$adds."');location.href='".$url."'</script>");<br /> }<br /> else<br /> {<br /> echo('Add failure');<br /> }<br /> mysql_close($conn);<br />}<br />?><br />
Copyright 2014-2024 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号