Text für Monat angefangen

This commit is contained in:
Eskimue
2026-04-04 14:37:07 +02:00
parent 08de43621e
commit 08c24d728e
4 changed files with 147 additions and 0 deletions
+2
View File
@@ -510,3 +510,5 @@
[Sat Apr 4 14:01:01 2026] 127.0.0.1:63369 [200]: GET /favicon.ico
[Sat Apr 4 14:01:01 2026] 127.0.0.1:63369 Closing
[Sat Apr 4 14:01:01 2026] 127.0.0.1:61071 Accepted
[Sat Apr 4 14:02:40 2026] 127.0.0.1:61071 Closed without sending a request; it was probably just an unused speculative preconnection
[Sat Apr 4 14:02:40 2026] 127.0.0.1:61071 Closing
+13
View File
@@ -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('/<h3>Monat Im Ueberblick<\/h3>.*?<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;
}
+13
View File
@@ -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;
}