Ver Mensaje Individual
  #19 (permalink)  
Antiguo 03/07/2007, 15:54
Avatar de rimobi
rimobi
 
Fecha de Ingreso: julio-2007
Mensajes: 84
Antigüedad: 16 años, 10 meses
Puntos: 1
Re: Guardar Variables en PHP

este es el codigo PHP que tengo echo
<form method="get" name="Links" action="Lin.php">
<p>Tu nombre
<input type="text" name="Nombre" value="<?=$_POST['Nombre'];?>">
</p>
<p>Url web
<input type="text" name="web" value="<?=$_POST['web'];?>">
</p><form method="get" name="Links" action="Lin.php">
<p>Tu nombre
<input type="text" name="Nombre" value="<?=$_POST['Nombre'];?>">
</p>
<p>Url web
<input type="text" name="web" value="<?=$_POST['web'];?>">
</p><input type="submit" name="guardar" value="Guardar" onclick="Validar
(this.value);">
<input type="hidden" name="Boton">
</form>

y para coger als variables desde otra pagina tengo.. este otro
<?php require( 'bot.php' ) ?>

y ara tengo este para grabar en un documento.txt

$fh = fopen( "miarchivo.txt", "w" );
fwrite( $fh, "Contenido del txt!" );
fclose( $fh );

Sin probarlo todo yo creo k no funcionara....