Wpuszczam plik na serwer i taki błąd :
Cytat
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in /var/www/sites/yoyo.pl/t/u/turgondev/admin.php on line 57
Kod stronki :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Turgon Website</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
<meta name="description" content="">
<meta name="keywords" content="">
<META name="robots" content="index, follow">
<META name="Author" content="Turgon">
</head>
<body vlink='white' link='white' alink='white' bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table align="center" width="700" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="38" rowspan="6">
<img src="images/spacer.gif" width="38" alt=""></td>
<td colspan="9">
<img src="images/homepage_02.gif" width="616" height="173" alt=""></td>
<td width="46" rowspan="6">
<img src="images/spacer.gif" width="46" alt=""></td>
</tr>
<tr>
<td>
<img src="images/homepage_04.gif" width="24" height="54" alt=""></td>
<td>
<a href="index.php"><img src="images/homepage_05.gif" width="59" height="54" border="0" alt=""></a></td>
<td>
<a href="about.php"><img src="images/homepage_06.gif" width="83" height="54" alt="" border="0"></a></td>
<td>
<a href="gallery.php"><img src="images/homepage_07.gif" width="70" height="54" alt="" border="0"></a></td>
<td>
<a href="projects.php"><img src="images/homepage_08.gif" width="97" height="54" alt="" border="0"></a></td>
<td>
<a href="links.php"><img src="images/homepage_09.gif" width="64" height="54" alt="" border="0"></a></td>
<td>
<img src="images/homepage_10.gif" width="63" height="54" alt="" border="0"></td>
<td>
<a href="admin.php"><img src="images/homepage_11.gif" width="140" height="54" alt="" border="0"></a></td>
<td>
<img src="images/homepage_12.gif" width="16" height="54" alt="" border="0"></td>
</tr>
<tr>
<td colspan="9" background="images/homepage_13.gif" width="616" alt="">
<table>
<tr>
<td background="images/spacer.gif" width="15"></td>
<td valign="top" width="586"><center><?php
if($_GET["is"] == "login")
{
header("Location: [URL=http://www.turgondev.yoyo.pl/cutenews");]http
://www.turgondev.yoyo.pl/cutenews");[/URL] }
else
{
echo'<form action="cutenews/index.php" method="post"><br> <input tabindex=1 type=text name=username value='' style="width:134" size="20"><br>
Hasło:<br>
<input type=password name=password style="width:134" size="20"><br><br>
<input type=submit style="width:134; background-color: #F3F3F3;" value='Zaloguj'>
<input type=hidden name=action value=dologin>
</form>';
}
?></center></td>
<td background="images/spacer.gif" width="15"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="616" height="1" colspan="9">
<img src="images/spacer.gif" width="616" height="1" alt=""></td>
</tr>
<tr>
<td colspan="9">
<img src="images/homepage_15.gif" width="616" height="35" alt=""></td>
</tr>
</table>
</body>
</html>
Ten post edytował Turgon 21.03.2006, 19:15:13