Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: padekit istaisyt klaida ;D

Parašė EHF· 2009 Lap. 13 16:11:13
#1

Raso kad klaida 19 eiluteja [Parse error: parse error, unexpected T_STRING in W:\www\x.php on line 19]
Kodas:
<?php
If(empty($_POST['url']) || empty($_POST['dydis']) || empty($_POST['didis'])) {
?>
<SCRIPT LANGUAGE="javascript">
alert('Klaida')
history.go(-1)
</SCRIPT>

<?php
exit;
}
else {
setlocale(LC_ALL, "lt_LT");
$url =stripslashes(trim(htmlspecialchars( $_POST['url'])));
$dydis =stripslashes(trim(htmlspecialchars( $_POST['dydis'])));
$didis =stripslashes(trim(htmlspecialchars( $_POST['didis'])));


$informacija = "<br><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="85" height="74">
  <param name="movie" value="$url">
  <param name="quality" value="high">
  <embed src="$vardas" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="$dydis" height="$didis"></embed>
</object>


<br>";

$failas = "gg.txt";
$duomenys =fopen($failas, "a");
fwrite($duomenys, "$informacija \n");
fclose($duomenys);
header("Location: z.php");
}
?>