[php]
<?php
if ($_FILES) {
echo '<pre>';
print_r($_FILES);
echo '</pre>';
}
?>
<form style="margin: 0px;" method="post" action="file_upload_test.php" enctype="multipart/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:
Expand|Select|Wrap|Line Numbers
- Array
- (
- [Picture1] => Array
- (
- [name] => 003.jpg
- [type] =>
- [tmp_name] =>
- [error] => 1
- [size] => 0
- )
- )
thanks ... (and sorry for my english..)