I want to open a file, print the specified lines in another file and every 5 minutes, to repeat the process. Can it be done?
This is what I want open:
$path2title = ("http://www.mysite.com/whatever.html");
$file = file($path2title);
then I want it to print into another file on my server this:
<? echo $file[54]; ?>
<? echo $file[55]; ?>
<? echo $file[56]; ?>
Then have a delay of 5 minutes before it repeats the process, is it possible?
Thanks guys,
Eddie