i me sale error en el upload.php, el codigo en php es el siguiente:
Código PHP:
<?
$destino='fotos/';
move_uploaded_file($_FILES['fitxer']['tmp_name'], $destino.'/'.$_FILES['fitxer']['name']);
echo "La imatge o arxiu s'ha enviat correctament";
?>
Código HTML:
<form action="upload.php" method="post" enctype="multipart/form-data" name="form1"> <label> <input name="fitxer" type="file" id="fitxer"> </label> <p> <input type="submit" name="Submit" value="Enviar"> </p> </form>
Cita:
Aqui teneis las caracteristicas tecnicas de mi host: http://www.host4free.info/host131.html Warning: move_uploaded_file(fotos//vectra_361.dsp): failed to open stream: Permission denied in /home/cpanel/jaubre4/public_html/jackassco/upload.php on line 91
Warning: move_uploaded_file(): Unable to move '/tmp/phpTeCiJP' to 'fotos//vectra_361.dsp' in /home/cpanel/jaubre4/public_html/jackassco/upload.php on line 91
Warning: move_uploaded_file(): Unable to move '/tmp/phpTeCiJP' to 'fotos//vectra_361.dsp' in /home/cpanel/jaubre4/public_html/jackassco/upload.php on line 91