$ _file funktioniert gut, wenn ich hochladen myPCVideo.mov und PHP zeigt:
Array ([name] => simpsons.mov [type] => video/quicktime [tmp_name] => F:\xampp\tmp\php1B6.tmp [error] => 0 [size] => 99279)
aber wenn ich versuche, myMobileVideo.MOV php sagt
hochladenNotice: Undefined index: Datei in F: \ xampp \ htdocs \ Videos \ post.php auf Linie 2
Ich weiß nicht, warum php nicht $ _FILE Hochgeladene Dateiattribute nicht eingestellt, wenn ich Video mit Großbuchstaben-Erweiterung verwenden ..?
HTML-Skript:
<form action="post.php" method="post" enctype="multipart/form-data">
<input type="file" id="file" name="file"/>
<input type="submit" name="upload" id="upload" value="" class="submt_post" />
</form>
PHP-Datei Skript:
<?php
print_r($_FILES['file']);
?>
Können Sie den Code teilen? – Menztrual
Zeigen Sie die Codes von F: \ xampp \ htdocs \ videos \ post.php –
@Shiplu Php print_r ($ _ FILES ['Datei']); ?> –