500 Internet服务器错误 [英] 500 internet server error
本文介绍了500 Internet服务器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好
当我运行此代码时,在浏览器中显示"500 Internet服务器错误".
我想知道这个错误及其解决方法.
感谢您对此的评论!
谢谢
hi all
When i run this code, in the browser display "500 internet server error".
I want to know about this error and solution for it.
Appreciate your comments on this!
thank you
$con = @mysql_connect("localhost","root","abc123");
if(!$con)
{
echo("could not connect");
die("not connect");
}
else
{
echo("Sucessfuly connect");
}
if(!@mysql_select_db("test"))
{
echo("Unable to connect");
}
else
{
echo("Sucessfuly connect");
}
推荐答案
con = @mysql_connect(" 本地主机", root", abc123"); if(!
con = @mysql_connect("localhost","root","abc123"); if(!
con) { echo(" ); die(" ); } 其他 { echo(" ); } if(!@ mysql_select_db(" )) { echo(" ); } 其他 { echo(" ); }
con) { echo("could not connect"); die("not connect"); } else { echo("Sucessfuly connect"); } if(!@mysql_select_db("test")) { echo("Unable to connect"); } else { echo("Sucessfuly connect"); }
解决问题的最佳链接:
http://www.cyberciti.biz/tips/http-error-500-internal-server-for-php-pages-and-solution.html [ http://support. netfirms.com/coding/errors/how-do-i-fix-a-500-internal-server-error-on-my-website [
Best links for your problem:
http://www.cyberciti.biz/tips/http-error-500-internal-server-for-php-pages-and-solution.html[^]
http://support.netfirms.com/coding/errors/how-do-i-fix-a-500-internal-server-error-on-my-website[^]
Regards,
Eduard
这篇关于500 Internet服务器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文