なんてことはない

3秒後にグーグルに遷移する

echo <<<EOM
<script type="text/javascript">
    setTimeout(function(){
  window.location.href = 'https://www.google.co.jp/';
}, 3*1000);
</script>
EOM;
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account log in.