whats wrong?
Posted: Fri May 06, 2005 9:33 am
It says theres a parse error on line 71, but I dont know whats wrong. here's the exact error message:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/vhosts/www.rayquazalair.net/cpanel.php on line 71
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/vhosts/www.rayquazalair.net/cpanel.php on line 71
Code: Select all
print <<<EOT
include("e;navigation.txt"e;);
<p> </p></td>
<td width="e;99%"e; valign="e;top"e;><p align="e;center"e;><head>
<div align="e;center"e;>
<center>
</br>
<table border="e;1"e; cellpadding="e;0"e; cellspacing="e;0"e; style="e;border-collapse: collapse"e; bordercolor="e;#111111"e; width="e;90%"e; height="e;1"e;>
<tr>
<td width="e;100%"e; height="e;1"e; valign="e;top"e; background="e;NewsBannerBG.PNG"e;>
<p align="e;center"e;>
<img border="e;0"e; src="e;cpanel.png"e; width="e;550"e; height="e;79"e;></td>
</tr>
<tr>
<td width="e;100%"e; height="e;1"e; valign="e;top"e; bgcolor="e;#283A58"e;>
</tr>
</table>
</center>
</div>
<div align="e;center"e;>
<center>
<p></br>
</p>
<table border="e;1"e; cellpadding="e;0"e; cellspacing="e;0"e; style="e;border-collapse: collapse"e; bordercolor="e;#111111"e; width="e;90%"e;>
<tr>
<center><font size="e;2"e; face="e;Tahoma"e; color="e;#FFFFFF"e;>EasyUpdate</font></center>
<td width="e;100%"e; height="e;12"e; face="e;Tahoma"e; color="e;#FFFFFF"e;background="e;newstitlebg.png"e;><form action="e;postingupdate.php"e; method="e;post"e; name="e;updatetable"e;>
<font size="e;1"e; face="e;Tahoma"e; color="e;#FFFFFF"e;> <input name="e;title"e; type="e;text"e; value="e;Title"e;> - Posted By $user on <input name="e;date"e; type="e;text"e; value="e;Date"e;></font>
</td>
</tr>
<tr>
<td width="e;100%"e; bgcolor="e;#004400"e;><p align="e;justify"e;><input type="e;text"e; name="e;avatarpath"e; value="e;Insert path to avatar"e;>
<textarea name="e;content"e; cols="e;100"e; rows="e;"e;>Type content here</textarea>
</p>
<p align="e;center"e;>-$user-</p>
<input name="e;isusernamevalid"e; type="e;hidden"e; value="e;valid"e;>
<input name="e;username"e; type="e;hidden"e; value="e;$user"e;>
<center><input type="e;submit"e; value="e;Submit"e;></center>
</form>
</td>
</tr>
</table>
</center>
</div>
</table>
<br><center>
Enter name of file to edit: <form action="e;PHP_SELF"e; method="e;post"e;><select name="e;filename"e;>
<option>Choose a file to edit</option>
<option value="e;affiliation.php"e;>affiliation.php</option>
<option value="e;contact.php"e;>contact.php</option>
<option value="e;copyright.txt"e;>copyright.txt</option>
<option value="e;dash.php"e;>dash.php</option>
<option value="e;dontclickhere.php"e;>dontclickhere.php</option>
<option value="e;emerald.php"e;>emerald.php</option>
<option value="e;links.php"e;>links.php</option>
<option value="e;mysprites.php"e;>mysprites.php</option>
<option value="e;navigation.txt"e;>navigation.txt</option>
<option value="e;polls.php"e;>polls.php</option>
</select><input name="e;filedit"e; type="e;hidden"e; value="e;yes"e;><input name="e;Edit"e; type="e;submit"e;></form>
$filename = $_POSTї"e;filename"e;];
$filedit = $_POSTї"e;filedit"e;];
if (filedit == yes){
$filecontent = file_get_contents($filename);
print "e;<br><form action=/"e;PHP_SELF/"e; method=/"e;post/"e;><textarea name=/"e;newcontent/"e; cols=/"e;/"e; rows=/"e;/"e;>$filecontent</textarea><input name=/"e;Submit/"e; type=/"e;submit/"e;></form>"e;;
}
$newcontent = $_POSTї"e;newcontent"e;];
$handle2 = fopen($filename, "e;wb"e;);
$numbytes = fwrite($handle2, $newcontent);
fclose($handle2);
</center>
include("e;copyright.txt"e;);
<p align="e;center"e;> </p>
EOT;