so gehts
als Einfachst-Lösung - hilf Dir selbst, dann hilft Dir ....
<?php
echo "<html><body><font face=arial size=2>\n";
if (!$_GET) { echo ("keine Parameter<p>\n"); }
else {
if ($_GET['bhf']) {
$dat = date ("mdHi");
$bhf = $_GET['bhf'];
$AnAb = $_GET['AnAb'];
$sel = $_GET['sel'];
$filename = "http://...........tafel.html?bhf=$bhf";
$fd = fopen( $filename, "r" );
$contents = fread( $fd, 80000 );
fclose( $fd );
$cartFile = fopen("temp.htm","w");
fwrite($cartFile,$contents);
fclose($cartFile);
exec ("#FILTER.BAT . temp $sel");
include "tempHtml0.ini";
eregi("<TITLE>(.*)</TITLE>", $contents, $tit);
echo date ("d.m.Y ");
echo (eregi_replace( "Haltestelleninformationen - Abfahrtsplan", "", $tit[1] ));
echo " ", $bhf;
}
else { echo ("kein Bahnhof\n"); }
}
echo "</body></html>";
?>