Hi. 

I have a form in a page 1, that POSTs a file and some hidden's to page 2. If 
the file size is bigger that the max in php.ini, in page 2,  $_POST is 
empty. 

In the mood for a look ? 

upload.html: 

<html> 
<body> 

<h1>Attach your file here:</h1> 
<form name=anexar action=upload2.php enctype="multipart/form-data" 
method=post onSubmit=return(validar(this));> 
<input type=hidden name=duck value="duck" /> 
<input type=file name=arquivo /> 
<input type=hidden name=pig value="pig" /> 
<input type=submit value="Sub !" /> 
</form> 
</body> 
</html> 

upload2.php: 

<pre> 
<?php 
var_dump($_POST); 
var_dump($_FILES); 
?> 
</pre> 

$_POST is empty... 

Is this a bug ? Or have I done some wrong ? 

Thanks 
Leonel 

_________________________________________________________
Voce quer um iGMail protegido contra vírus e spams? 
Clique aqui: http://www.igmailseguro.ig.com.br


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to