Text für Monat angefangen
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
@@ -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