<div id="left-body-part-innerpage">
<h1 class="mainheading">Contact Us</h1>
<div id="contactus-right-div" class="content">
<?php session_start();
if(isset($_POST['button2']))
{
if($_SESSION['security_code'] == $_POST['security_code'] && !empty($_SESSION['security_code']))
{
$name = $_POST['name'];
// Insert you code for processing the form here, e.g emailing the submission, entering it into a database.
session_destroy();
header("Location: contactdb.php");
?>
送我得到头警告:在session_start()[function.session启动]:无法发送会话缓存限制器 - 在网站不能更改头信息 - 已经
已经发送了头(输出开始网站)警告:不能修改标题信息 - 网站已发送的标题(输出在网站开始)在网站
任何人都可以帮助我吗?
在此先感谢....
想想包括他的文件,而不是重定向到它。 – Svisstack 2010-06-24 10:39:34
会话警告呢? – Rachel 2010-06-24 11:00:09
只需在任何HTML之前放置标题功能即可。 – 2010-06-24 11:16:00