Ver Mensaje Individual
  #5 (permalink)  
Antiguo 26/07/2004, 08:18
Avatar de Rnsto
Rnsto
 
Fecha de Ingreso: marzo-2002
Ubicación: Puerto Vallarta, Mexico
Mensajes: 204
Antigüedad: 22 años, 1 mes
Puntos: 0
Gracias...

Asi lo consegui, se los anexo por si a alguien mas le interesa. :)

<?php
$weather = 'http://eldomino.com/clima/deldia.txt';
$contents = file_get_contents($weather);
$contenido = date("d/m/y")."\n".$contents;
$file = "weather.txt";
$fp = fopen($file, "w") or die("Couldn't open $file for writing!");
$numBytes = fwrite($fp, $contenido) or die("Couldn't write values to file!");
fclose($fp);
echo "Wrote $numBytes bytes to $file successfully!";
?>
__________________
Saludos
Rnstho Luna
go2mexico.com