10c09-1.php
来自「介绍PHP5的给类型函数应用」· PHP 代码 · 共 24 行
PHP
24 行
<?php// Begin a session, and save a 'validity' variable to it:session_start();// If the validsubmit session variable doesn't exist, create it to be true:if (!isset($_SESSION['validsubmit'])) { $_SESSION['validsubmit'] = true;}?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>Data Entry Form</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /></head><body><form action="10c09-2.php" method="post" name="f1"><!-- LIVE: <form action="submit.php" method="post" name="f1"> --><p>Please enter your name: <input name="name" type="text" /></p><p><input type="submit" /></p></form></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?