saber por que me ocurre este problema.
Escritura.php
Código PHP:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Problema</title>
</head>
<body> <form action="crear.php" method="post">
Ingrese su ID de usuario:
<input type="text" name="nombre">
<br>
Ingrese su E-mail:
<input type="text" name="E-mail">
<br>
Ingrese su fecha de nacimiento:
<input type="text" name="F-nac" size="1" value="DD"> / <input type="text" name="F-nac" size="1"value="MM"> / <input type="text" name="F-nac" size="1"value="AA">
<br>
Ingrese su Pais:
<input type="text" name="pais">
<br>
<input type="submit" value="Registrar">
</form>
<h2>*Importante su contraseña sera enviada al correo que escriba!!!</h2>
</body>
</html>
Código PHP:
<html>
<head>
<title>Problema</title>
</head>
<body>
<?php
$ar=fopen("datos.txt","a") or
die("Problemas en la creacion");
fputs($ar,$_REQUEST['nombre']);
fputs($ar,"\n");
fputs($ar,$_REQUEST['E-mail']);
fputs($ar,"\n");
fputs($ar,$_REQUEST['F-nac']);
fputs($ar,"\n");
fputs($ar,$_REQUEST['pais']);
fputs($ar,"\n");
fputs($ar,"--------------------------------------------------------");
fputs($ar,"\n");
fclose($ar);
echo "En unos minutos se le otorgara un mensaje con su contraseña";
?> me aparece este problema:
Warning: fopen(datos.txt): failed to open stream: Permission denied in /home/asacura/public_html/SpaceClash/crear.php on line 2
Problemas en la creacion
la linea (2) es donde puse el stream para que cree el archivo llamado "datos.txt"
si alguno me pudiera solucionar este problema se los agradecere...
.... 
Este tema le ha gustado a 1 personas