All pastes #353751 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-02-13 15:44 UTC
rendered paste body
<?
if (isset($_POST["Submit"]))
	die(filesize($_FILES["ficheiro"]["tmp_name"]));
?>
<form id="form1" name="form1" enctype="multipart/form-data" method="post" action="">
  <p>
    <input type="file" name="ficheiro" />
</p>
  <p>
    <input type="submit" name="Submit" value="Submit" />
</p>
</form>