C
Chrigi_111
Guest
Ich bekomme bei meinem Upload immer Diesen Fehler:
Hier der Quellcode:
Code:
Fatal error: Call to undefined function: move_uploadet_file() in /home1/chrigi/public_html/czb/up/uploadfile.php on line 1
PHP:
<?php
$Name = $_REQUEST['Name'];
$Bezeichnung = $_REQUEST['Beschreib'];
if (isset($_FILES['file_upload'])){
$filename = $_FILES['file_upload']['name'];
$filesize = $_FILES['file_upload']['size'];
$tempname = $_FILES['file_upload']['tmp_name'];
$type = $_FILES['file_upload']['type'];
if( $_FILES['file_upload']['type'] == "image/gif") {
$source = $_FILES['file_upload']['tmp_name'];
$target = "/Images/".$_FILES['file_upload']['name'];
move_uploadet_file( $source, $target );
$sql = " INSERT INTO uploads(`Name`, `Bezeichnung`, `Speicherort`)
VALUES('$Name', '$Bezeichnung', '$target');";
mysql_query($sql) or die(mysql_error());
} else if($_FILES['file_upload']['type'] != "image/gif"){
$source = $_FILES['file_upload']['tmp_name'];
$target = "/Files/".$_FILES['file_upload']['name'];
/// Zeile 19::: move_uploadet_file( $source, $target );///
$sql = "INSERT INTO uploads(`Name`, `Bezeichnung`, `Speicherort`)
VALUES('$Name', '$Bezeichnung', '$target');";
mysql_query($sql);
}
}
?>