Otra cosa, he probado a poner esto:
Código:
if(fwrite($fp, "<? include($respuestas) ?>"))
Es decir, le quito después de $respuestas el .txt, antes me daba el error
Código:
Warning: Failed opening 'respuestas1txttxt' for inclusion (include_path='.:/usr/share/pear') in /var/www/www.redhispana.org/chuloyo/foro/index.txt on line 1
Ahora me da el error:
Código:
Warning: Failed opening 'respuestas1txt' for inclusion (include_path='.:/usr/share/pear') in /var/www/www.redhispana.org/chuloyo/foro/index.txt on line 1
No son iguales por si me decís eso.