$source = "http://www.meteofa.mil.ar/dpd/tiepre/87582.htm";
$start = "title_area value=\""; //This just tells the script where to begin to get the data in the page.
$end = "\" size=26 border=0>"; //This just tells the script where to end recording the data.
//Content Retrieval
$data = fopen("$source", "r");
$get = fread($data, 20000);
$take = eregi("$start(.*)$end", $get, $content);
$info = str_replace("--", " - ", $content);
echo $info[1];
Originally posted by ChristGuy You could try something like the following:
PHP Code:
$source = "http://www.meteofa.mil.ar/dpd/tiepre/87582.htm";
$start = "title_area value=\""; //This just tells the script where to begin to get the data in the page.
$end = "\" size=26 border=0>"; //This just tells the script where to end recording the data.
//Content Retrieval
$data = fopen("$source", "r");
$get = fread($data, 20000);
$take = eregi("$start(.*)$end", $get, $content);
$info = str_replace("--", " - ", $content);
echo $info[1];
As ChristGuy explained by using MY CODE! j/k. You can easily take pretty much anything from any web site by entering in the URL and tell it where to begin grabbing and where to stop. I could help you if you need it.