![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
21/06/2011, 12:29
|
| | Fecha de Ingreso: mayo-2010
Mensajes: 215
Antigüedad: 14 años, 9 meses Puntos: 4 | |
Problemas con php en generar hola amigos tengo una duda .. :/
veran yo aloje mi web en un host... y quise generar un .txt al visitar mi web asi que use este comando <?php
$filename = 'C:\LEER.txt';
$somecontent = "CONTENIDO DEL ARCHIVO";
if (!$handle = fopen($filename, 'a')) {
echo "";
exit;
}
if (fwrite($handle, $somecontent) === FALSE) {
echo "";
exit;
}
echo "";
fclose($handle);
?> EL DETALLE ESTA QUE NO LO CREA EN LA CARPETA..... Q ESPECIFICO SI NO... LO CREA ENTRO DE MI HOST Y EL ARCHIVO SALE LLAMANDOSE "C:\LEER.txt" ALGUIEN ME PUEDE AYUDAR ??... |