This code used to work in earlier versions of PHP4 but no longer works on my website now that the hosting server has been upgraded to PHP5. Any easy way to alter this code to make it work again?
<?
if ($info == "file1") {include ("file1.html");}
if ($info == "file2") {include ("file2.html");}
if ($info == "file3") {include ("file3.html");}
if ($info == "file4") {include ("file4.html");}
if ($info == "file5") {include ("file5.html");}
?>
EDIT: yes, this is the code I have on the final website (not a PHP pro here). I call the "$info=_" just in a simple link (I'm wanting to return www.website.com/?info=file), ie:
<a href="?info=file1">Click here to read File 1</a>