Ver Mensaje Individual
  #1 (permalink)  
Antiguo 09/06/2006, 12:54
bret89
 
Fecha de Ingreso: diciembre-2004
Mensajes: 35
Antigüedad: 19 años, 4 meses
Puntos: 0
Problemas con upload en PHP

Hola tengo mi web alojada en el server: www.posting4hosting.com

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";
?>
i el codigo del formulario de upload.html es el siguiente:
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> 
I el error que me sale en pantall es este:
Cita:
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
Aqui teneis las caracteristicas tecnicas de mi host: http://www.host4free.info/host131.html