private_mail.php

来自「php源码 php源码参考」· PHP 代码 · 共 26 行

PHP
26
字号
<html>
<body>
<h1>Send Me Private Mail</h1>

<?php
 // you might need to change this line, if you do not use 
 // the default ports, 80 for normal traffic and 443 for SSL
 if($_SERVER['SERVER_PORT']!=443)
   echo '<p><font color = red>
            WARNING: you have not connected to this page using SSL.  
            Your message could be read by others.</font></p>';
?>

<form method = post action = "send_private_mail.php"><br>
Your email address:<br>
<input type = text name = from size = 38><br>
Subject:<br>
<input type = text name = title size = 38><br>
Your message:<br>
<textarea name = body cols = 30 rows = 10>
</textarea><br>
<input type = submit value = "Send!">
</form>
</body>
</html>

⌨️ 快捷键说明

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