The follow code is a working upload script with MAX_FILE_SIZE
Code:
<html>
	<body>
		<form enctype="multipart/form-data" action="<?= $_SERVER['PHP_SELF'] ?>" method="POST">
			<input type="hidden" name="MAX_FILE_SIZE" value="200000">
			<input name="userfile" type="file">			
			<input type="submit" value="SEND">
		</form>
		<?
			print_r($_FILES);
		?>
		</pre>
	</body>
</html>
The only problem is that if I send a file bigger than MAX_FILE_SIZE (200k), the upload doesn't stop instantly as should do. My php version is 4.3.9 and there's a working copy of this script at: http://www.flexbrasil.com.br/up.php
I tried with php 4.3.8 and didn't work too. Does I need another conf? My .ini confs:
memory_limit = 32M
post_max_size = 8M
upload_max_filesize = 10M
I thing must exist a conf maybe in apache, or is it a bug? I'm pretty shure that it worked sometime in the past.