特定のボタンが押されたときにサイトのキャッシュをクリアしようとしています。次のステートメントを if ステートメントに入れましたが、無限ループに陥り続けています。なぜかわからない?if ステートメント内でエコーしているのは次のとおりです。
echo "<meta http-equiv=\"refresh\" content=\"0; mywebsitetest.org/ \" />";
echo "<meta http-equiv=\"pragma\" content=\"no-cache\">";
echo "<script type=" . "text/javascript" . ">";
echo "window.location.replace('mywebsitetest.org') </script>";
前もって感謝します。