upload virker ik ?
hejsa..<?php
if (isset($submit)) {
$map_dir = "./covers_images";
//$max_file = "1000";
move_uploaded_file($_FILES['userfile']['tmp_name'], $map_dir);
}
?>
<form enctype="multipart/form-data" action="upload.php" method="post">
Send this file: <input name="userfile" type="file">
<input type="submit" value="Send File">
</form>
det her er min kode, den virker ikke, mappen er sat på 777.
Warning: Unable to create './covers_images': Is a directory in /home/asd/public_html/upload.php on line 5
Warning: Unable to move '/tmp/phpREEeuY' to './covers_images' in /home/asd/public_html/upload.php on line 5
