Ver Mensaje Individual
  #5 (permalink)  
Antiguo 31/05/2011, 13:32
Avatar de Alvaro_Franz
Alvaro_Franz
 
Fecha de Ingreso: mayo-2011
Mensajes: 84
Antigüedad: 13 años
Puntos: 4
Respuesta: Fwrite no funciona a pesar de tener permiso

Me surge un nuevo error, al colocar esto en la cabecera (antes de cualquier salida HTML)

Código PHP:
chmod($_SERVER['DOCUMENT_ROOT'] . "/archivos_txt/" $_GET['q'] . ".txt"0666); 
Aparece:

Cita:
Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/sierrasu/public_html/editar-documento.php on line 117

Parse error: syntax error, unexpected $end, expecting ']' in /home/sierrasu/public_html/editar-documento.php on line 117
En cambio si no coloco esta línea, no me aparece el warning... jmm...