At 01:31 pm 7/28/01 -0300, Augusto Cesar Castoldi wrote:

>I want that each hour my script gets the weather of a site (like yahoo)
>and write to a txt file.

Hi Augusto.

first write the script to accomplish this function. If you're on a Unix 
type server you can then use the crontab function to have the program run 
once an hour. You could have the output from that program go to a file.

Then for the webpage that serves up that data you can read the contents of 
the file the hourly program has created. BTW, you should make sure you're 
doing this in a way that Yahoo (for example) finds acceptable usage, e.g. 
by contacting them first for permission to post their data to your site.


Face 2 Interface Web Solutions
Website Creation Made SIMPL(tm)

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to