I'm not a professional, but just a user that a lot of years ago wrote some simple code. Last days I changed my PHP version to 5.6.40 (and next days to PHP 7.3.x), and my guestbook won't work Here is a little part of the code (I can't copy and paste, I don't know why...):
<a href="tuafirma.php?go=sign"><font color=red>clicca qui</font></a>
<?php
if($d)
{
if($password==$delete_pass && ereg("[0-9]+",$d))
{
mysql_query("delete from guestbook where id='$d'");
echo "<h3>Il commento e' stato cancellato</h3><p>";
}
else
{
die("Inserisci la password<br> <form method=post action=$PHP_SELF?l=$l><input type=hidden name=d value=$d><input type=password name=password> <input type=submit value=delete></form>");
}
}
It worked until some days ago, now no!