Port the code to PHP 8.5.

Replace the short open tags and the removed functions (mcrypt, mysql_error,
salt-less crypt). Decode the reCAPTCHA reply as JSON, turn off mysqli
exceptions, drop stripslashes(), and default missing input values.
Fix the misplaced continue in prune_images().
This commit is contained in:
tim
2026-09-25 21:18:58 +02:00
parent 15e81e17cc
commit 00829a0c0d
23 changed files with 145 additions and 130 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
<footer id="bottom"><p>
All stories and submissions <a class="whitefont" href="about">&copy;</a> 2003&ndash;<? echo gmdate("Y"); ?> their respective authors.
All stories and submissions <a class="whitefont" href="about">&copy;</a> 2003&ndash;<?php echo gmdate("Y"); ?> their respective authors.
</p></footer>
<? $_SESSION['referrer'] = $_SERVER['REQUEST_URI']; ?>
<? include_once('google.inc.php'); ?>
<?php $_SESSION['referrer'] = $_SERVER['REQUEST_URI']; ?>
<?php include_once('google.inc.php'); ?>