submitfeedback.php

来自「If you are using Internet Explorer on Wi」· PHP 代码 · 共 20 行

PHP
20
字号
<?php
    //send e-mail (uncomment to actually send e-mail
    //mail("you@yourdomain.com", "User Feedback", $feedbackText, "From: feedback@{$_SERVER['SERVER_NAME']}");

    //if flag is set, set cookies
    if ($rememberMe == "yes") {
        setcookie("personName", $personName, time() + 1000 * 60 * 60 * 24 * 365);
        setcookie("personEmail", $personEmail, time() + 1000* 60 * 60 * 24 * 365);
    }
?>
<html>
    <head>
        <title>Cookies Example</title>   
                
    </head>
    <body>
        <p>Thank you for submitting feedback!</p> 
    </body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?