Hi
hab folgendes Script:
<form action="<?php $_SERVER['PHP_SELF']; ?>" method="POST" enctype="multipart/form-data">
<input type="file" name="pic">
<input type="submit" value="eintragen"/>
<?php
if(isset($_FILES['pic']))
{
move_uploaded_file($_FILES['pic']['tmp_name'], "./cover/test.jpg");
}
?>
Und bekomme folgende Fehlermeldung:
Warning: move_uploaded_file(./cover/test.jpg): failed to open stream: Permission denied in /home/bngoetz/public_html/Video/neu_html.php on line 77
Warning: move_uploaded_file(): Unable to move '/tmp/phpPJ1nOV' to './cover/test.jpg' in /home/bngoetz/public_html/Video/neu_html.php on line 77
Bitte um Hilfe