Parašė avice· 2010 Bir. 25 20:06:12
#1
Sveiki
Kas gali but sitame kode blogaj :
<?php
If(empty($_POST['vardas']) || empty($_POST['text'])) {
?>
<SCRIPT LANGUAGE="javascript">
alert('ERROR')
history.go(-1)
</SCRIPT>
<?php
exit;
}
else {
setlocale(LC_ALL, "lt_LT");
$vardas =stripslashes(trim(htmlspecialchars( $_POST['vardas'])));
$text = stripslashes(trim(htmlspecialchars($_POST['text'])));
$dt = date("y-m-d H:i:s");
$informacija = "<center><table width="171" height="82" border="1">
<tr>
<td width="161"><img src="http:www.status.blackout-gaming.net/status.php?dns=$text&port=$vardas&style=9" width="12" height="13"></td>
</tr>
</table></center><br> ";
$failas = "gg.txt";
$duomenys =fopen($failas, "a");
fwrite($duomenys, "$informacija \n");
fclose($duomenys);
}
?>
Meta tokia klaida:
Parse error: syntax error, unexpected T_LNUMBER in /home/xxxx/domains/xxxx/public_html/p/x.php on line 20
nlb suprantu as tuos Sytax :]
Aciu.
Redagavo avice· 2010 Bir. 26 14:06:41