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:
+3
-3
@@ -1,5 +1,5 @@
|
||||
<footer id="bottom"><p>
|
||||
All stories and submissions <a class="whitefont" href="about">©</a> 2003–<? echo gmdate("Y"); ?> their respective authors.
|
||||
All stories and submissions <a class="whitefont" href="about">©</a> 2003–<?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'); ?>
|
||||
|
||||
Reference in New Issue
Block a user