Text für Monat angefangen
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
session_start();
|
||||
$_SESSION['user_id'] = 1;
|
||||
$_GET['month'] = '3';
|
||||
$_GET['year'] = '2026';
|
||||
ob_start();
|
||||
require __DIR__ . '/../public/monatsvorhersage_old.php';
|
||||
$html = ob_get_clean();
|
||||
if (preg_match('/<p class="monatsnarrativ-text">(.*?)<\/p>/s', $html, $m)) {
|
||||
echo html_entity_decode(strip_tags($m[1]), ENT_QUOTES | ENT_HTML5, 'UTF-8'), PHP_EOL;
|
||||
} else {
|
||||
echo 'NARRATIVE_NOT_FOUND', PHP_EOL;
|
||||
}
|
||||
Reference in New Issue
Block a user