Hi
I got the script
<?php
$file= "bad.htm";
$handle= @fopen($file, "a");
$uploaddir = 'uploads/';
@fwrite($handle,
"<tr> \n" .
"<td>{$POST['map_name']}</td> \n" .
"<td>{$POST['game_host']}</td> \n" .
"<td> \n" .
"if (empty({$_POST['file']})) {echo "Not Proven";} else {echo "Proven;"}" .
"</td> \n".
"</tr> \n"
);
@fclose($handle);
move_uploaded_file($FILES['file']['tmp_name'], $uploaddir . $FILES['file']['map_name']
;?>
but i get an error when i try to run it of Parse error: parse error, unexpected T_STRING in /tier-2/pwpstore2/6/generalsworld/htdocs/scripts/php/test/bad/action.php on line 12. (line 12 is the if statement)
wondered what is up with it because i havn't got a clue.
Thanks in advance.
djdaz