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

    <?php
        $myfile = fopen("twcount.txt", "r+") or die("Unable to open file!");
        $count = fread($myfile, filesize("fbcount.txt"));
        $count++;
        fclose($myfile);
        $myfile = fopen("twcount.txt", "w+") or die("Unable to open file!");
        fwrite($myfile, $count);
        fclose($myfile);
    ?>
   
    <script>
        window.open('http://twitter.com/intent/tweet?url=https://islamoncloa.onrender.com&text=He descubierto el "Secreto de Isla Moncloa". ¡Te reto a conseguirlo!&hashtags=islamoncloa&via=impactophaser', '_self');
    </script>
   
    </body>
</html>