打开http://localhost怎么出现这样的代码?请教高手
我安装了个appserv,打开http://localhost后phpmyadmin进不去,似乎浏览器不能识别php代码,浏览窗口中显示如下源代码,(用firefox测试...
我安装了个appserv,打开http://localhost后phpmyadmin进不去,似乎浏览器不能识别php代码,浏览窗口中显示如下源代码,(用firefox测试同样如此),请教高手帮小弟解决下,成功+50悬赏:
<?php
/************************************************************************/
/* AppServ Open Project */
/* =========================== */
/* */
/* Copyright (c) 2001 by Phanupong Panyadee (http://www.appservnetwork.com) */
/* http://www.appservnetwork.com */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/
include("appserv/main.php");
print "
<html>
<head>
<title>AppServ Open Project "._APPVERSION."</title>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=\""._CHARSET."\">
<style>
<!-- Hide style for old browsers
BODY {font-family: MS Sans Serif;font-size=\"10\"}
.headd { font-family: Helvetica,Verdana ; font-size: 13pt; text-decoration: none; }
.app { font-family: MS Sans Serif ; font-size: 10pt; text-decoration: none; }
A:link {text-decoration: none; color: #0000FF}
A:visited {text-decoration: none; color: #0000FF}
A:hover {text-decoration: none; color: #FF0000}
A:active {text-decoration: none; color: #FF0000}
-->
</style>
</head>
<body bgcolor=\"#FFFFFF\">
<div align=\"left\">
<table border=\"0\" width=\"100%\" height=\"19\">
。。。。。。。。。省略
</table>
</div>
</body>
</html>
";
?> 展开
<?php
/************************************************************************/
/* AppServ Open Project */
/* =========================== */
/* */
/* Copyright (c) 2001 by Phanupong Panyadee (http://www.appservnetwork.com) */
/* http://www.appservnetwork.com */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/
include("appserv/main.php");
print "
<html>
<head>
<title>AppServ Open Project "._APPVERSION."</title>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=\""._CHARSET."\">
<style>
<!-- Hide style for old browsers
BODY {font-family: MS Sans Serif;font-size=\"10\"}
.headd { font-family: Helvetica,Verdana ; font-size: 13pt; text-decoration: none; }
.app { font-family: MS Sans Serif ; font-size: 10pt; text-decoration: none; }
A:link {text-decoration: none; color: #0000FF}
A:visited {text-decoration: none; color: #0000FF}
A:hover {text-decoration: none; color: #FF0000}
A:active {text-decoration: none; color: #FF0000}
-->
</style>
</head>
<body bgcolor=\"#FFFFFF\">
<div align=\"left\">
<table border=\"0\" width=\"100%\" height=\"19\">
。。。。。。。。。省略
</table>
</div>
</body>
</html>
";
?> 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询