php test
the date is 2024-10-23
the query string, if anything, is ][
<html lang='en'> <head> <title>php test</title> <style>pre {background-color: #000000; color: #ffffff; max-width: max-content; padding: 0.5em;}</style> </head> <body> <?php echo '<p>php test</p>'; echo '<p>the date is '.date('Y-m-d').'</p>'; echo '<p>the query string, if anything, is ]'.$_SERVER['QUERY_STRING'].'[</p>'; $myself = fread(fopen('php_test.php', 'r'),filesize('php_test.php')); echo '<details><summary>code</summary><pre>'.htmlentities($myself).'</pre></details>'; ?> </body> </html>