<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