<!DOCTYPE html>
<html>
   <head>
    <body>

    <?php
        $myfile = fopen("fbcount.txt", "r+") or die("Unable to open file!");
        $count = fread($myfile, filesize("fbcount.txt"));
        $count++;
        fclose($myfile);
        $myfile = fopen("fbcount.txt", "w+") or die("Unable to open file!");
        fwrite($myfile, $count);
        fclose($myfile);
    ?>

    <script>
        window.open('https://www.facebook.com/dialog/share?app_id=488369121667444&display=popup&href=https://islamoncloa.onrender.com/&redirect_uri=https://islamoncloa.onrender.com/', '_self');
    </script>
   
    </body>
</html>
