The code for mycore.php