el txt se llama
encuesta.txt
el php que deberia escribir se llama
writeencu.php
---------------------------------------------------------------
<?
// Definimos el archivo a abrirse
$archivo = "encuesta.txt";
// Leemos el archivo .txt
$fp = fopen($archivo, "r");
$total= fread($fp, 99999);
fclose($fp);
// Escribimos en el archivo .txt
$fp = fopen($archivo, "w");
$total = $encuestam;
fwrite($fp, $total);
fclose($fp);
?>
---------------------------------------------------------------
no escribo elque lee por que si funciona de hecho aqui esta la direccion
http://mbguia.com/gb01rubros/servicios/90s/encuesta90s/encuestaphp/encuestaphp.html
en el servidor donde no guarda al presionar el boton.
y el codigo del boton es:
on (release) {
loadVariables("writeencu.php", _root, "POST");
}
y aqui les pongo una foto del ftp
![](http://mbguia.com/gb01demo/fotosserver/server.jpg)
PD. EL READENCU.PHP SI LEE EL ENCUESTA.TXT, EL PROBLEMA ES QUENOESCRIBE EL WRITEENCU.PHP.
SALUDOS
si algomas necesitan me dicenporfa y lo subo,
thanks hermanos.