Re: help-fetching-url-contents

From: Date: Fri, 10 Sep 2004 13:21:32 +0000
Subject: Re: help-fetching-url-contents
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-196298@lists.php.net to get a copy of this message
From: "vijayaraj nagarajan" <bioinfovijayaraj@yahoo.com>
i would like to fetch the content of a url. and then would like to put in my page... dynamically refreshing it once in a day... is it possible to do this in php. i have used perl get url option and then parse the file, with the date and time function...to do this.
$file = file_get_contents('http://www.domain.com/page.php'); Save $file locally and you have your copy. use cron to run the command once per day. ---John Holmes...

« previous php.general (#196298) next »