cancionero-web/res/static/misa/update_index.php

24 lines
419 B
PHP

<?php
$ch = curl_init("https://csgj.pw/canciones/result.html");
$fp = fopen("index.html", "w");
curl_setopt($ch, CURLOPT_FILE, $fp);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_exec($ch);
curl_close($ch);
fclose($fp);
?>
<!DOCTYPE html>
<html lang="en">
<head>
<script>
setTimeout(() => document.location.replace("./"), 100);
</script>
</head>
<body>
You can see the result <a href="./">here</a>.
</body>
</html>