Nieuw lid |
|
Volledige code die helaas niet werkt
<?php
// Define the URL we'll be pulling from
$URL = "http://www.knvb.nl/clubs_comp/team_standen?comp_id=NO-0519**-16-60631*!&club_id=BBBC70H&team_id=90122&print=stand";
// Grab the full contents of the web page, 8192 bytes at a time until done
$file = fopen("$URL", "r");
$r = "";
do {
$data = fread($file, 8192);
if (strlen($data) == 0) {
break;
}
$r .= $data;
} while (true);
// Define a Start & End location for the regular expression
$Start = '<a name="top">';
$End = '</body>';
// Grab the text between the Start & End location (ie. The picture name)
$stuff = eregi("$Start(.*)$End", $r, $content);
$steenwijkerwold = $content[1];
echo $steenwijkerwold; // uitslagen en standen
echo "<br />";
?>
<?php // Define the URL we'll be pulling from $URL = "http://www.knvb.nl/clubs_comp/team_standen?comp_id=NO-0519**-16-60631*!&club_id=BBBC70H&team_id=90122&print=stand"; // Grab the full contents of the web page, 8192 bytes at a time until done $file = fopen("$URL", "r"); $r = ""; do { $data = fread($file, 8192); break; } $r .= $data; } while (true); // Define a Start & End location for the regular expression $Start = '<a name="top">'; $End = '</body>'; // Grab the text between the Start & End location (ie. The picture name) $stuff = eregi("$Start(.*)$End", $r, $content); $steenwijkerwold = $content[1]; echo $steenwijkerwold; // uitslagen en standen ?>
|