我知道PHP是服務器端,但有沒有辦法讓這個窗口關閉3秒後?超時後自動關閉窗口
<link rel="stylesheet" type="text/css" href="style1.css" />
<?php
$contact_message=$_POST['message'];
$errpage = $_POST['frompage'];
$ip=$_SERVER['REMOTE_ADDR'];
$message = "$contact_message -SENT FROM THIS IP: $ip";
mail("[email protected]", "$Error Reported on: $errpage", $message);
echo "We have documented the web address of the problem and thank you for helping us improve our site!"
?>
如果有的話,你會看着JavaScript來試圖達到你想要的。 – anditpainsme
@anditpainsme你知道一個腳本可以做到嗎? –