- 论坛徽章:
- 0
|
<html>
<head>
<title>webjx.com</title>
</head>
<body text="#000000">
<center>
<table width="500" border="3">
<tr>
<td width="140" height="400" valign="top">
<p align="center">
<a href='index.php'>home</a><br />
<a href='index.php?action=contact_us'>page 1</a><br />
<a href='index.php?action=link_us'>page 2</a><br />
</p></td>
<td width="360" height="400" valign="top">
<p>
<?
if (isset($_GET['action'])){$PAGE = $_GET['action'];
else $PAGE = 'home';
switch ($PAGE) {
case 'home':
include ('inc/p2.php');
break;
case 'contact_us':
include ('inc/p3.php');
break;
case 'link_us':
include ('inc/p4.php');
break;
default:
echo '<p align=center>Error 404! the page you request doesn t exist or as been temporarely unaccessible</p>';
break;} }
?>
</p>
</td>
</tr>
</table>
</center>
</body>
</html>
我在网上看到这个代码,但是上传到服务器后就出现这句,应该怎么改
Parse error: syntax error, unexpected '[', expecting T_PAAMAYIM_NEKUDOTAYIM in /www/osas.com/w/w/w/qwe/index.php on line 19 |
|