16 lines
390 B
PHP
16 lines
390 B
PHP
<?php
|
|
session_start();
|
|
$_SESSION['user_id'] = 1;
|
|
$_GET['month'] = '4';
|
|
$_GET['year'] = '2026';
|
|
ob_start();
|
|
require __DIR__ . '/../public/monatsvorhersage_old.php';
|
|
$html = ob_get_clean();
|
|
if (preg_match_all('/Guter Ueberflug[^<]+/', $html, $matches)) {
|
|
foreach (array_unique($matches[0]) as $match) {
|
|
echo $match, PHP_EOL;
|
|
}
|
|
} else {
|
|
echo 'NO_PASS_EVENT', PHP_EOL;
|
|
}
|