Page 1 of 1

Desperation has returned

Posted: Fri Mar 14, 2003 11:02 am
by mzfp2
been reading through all the posts about this, but to no avail, everytime my form is submiteed nothing is captured by the $_FILES or $HTTP_POST_FILES arrays, checked the form hundred times now, using the following code to capture something, but nothing is printed out?

echo '<pre>'; print_r($HTTP_POST_FILES); echo '</pre>';
break;

no matter wot i do it just cant get no filename to be printed out

Posted: Fri Mar 14, 2003 11:43 am
by volka
please post the <form>-code

Posted: Fri Mar 14, 2003 11:45 am
by mzfp2
<form name="form1" method="post" action="../db/upload.php?Action=upload" enctype="multipart/form-data">
<input type="file" name="file"><br>
<input type="submit" name="Submit" value="Upload">
</form>

plz help .. i'll wish u eternal good karma if u do, n mention this website evrywhere i go

Posted: Fri Mar 14, 2003 11:53 am
by pootergeist
safe mode Off ?
file uploads 1 ?

Posted: Fri Mar 14, 2003 12:00 pm
by volka
pootergeist wrote:safe mode Off ?
file uploads 1 ?
good point, check this with

Code: Select all

<?php phpinfo(); ?>