I have this code:
[php]
<?php
if ($_FILES) {
echo '<pre>';
print_r($_FILES );
echo '</pre>';
}
?>
<form style="margin: 0px;" method="post" action="file_up load_test.php" enctype="multip art/form-data">
<div style="margin: 4px;">
<input type="file" name="Picture1" value="" style="padding: 4px; width: 320px;">
</div>
<div style="margin: 4px;">
<input type="submit" value="Upload!" style="padding: 4px;">
</div>
</form>
[/php]
I send form, and i have this messages:
size always as 0, why?
thanks ... (and sorry for my english..)
[php]
<?php
if ($_FILES) {
echo '<pre>';
print_r($_FILES );
echo '</pre>';
}
?>
<form style="margin: 0px;" method="post" action="file_up load_test.php" enctype="multip art/form-data">
<div style="margin: 4px;">
<input type="file" name="Picture1" value="" style="padding: 4px; width: 320px;">
</div>
<div style="margin: 4px;">
<input type="submit" value="Upload!" style="padding: 4px;">
</div>
</form>
[/php]
I send form, and i have this messages:
Code:
Array ( [Picture1] => Array ( [name] => 003.jpg [type] => [tmp_name] => [error] => 1 [size] => 0 ) )
thanks ... (and sorry for my english..)
Comment