小编use*_*271的帖子

故障排除"警告:session_start():无法发送会话缓存限制器 - 已发送的标头"

我收到 警告:session_start()[function.session-start]:无法发送会话缓存限制器 - 已发送的标头(输出在 错误时启动)

如果我将表单数据提交到不同的文件进行处理,则可以正常工作.但是,如果我将表单数据提交到同一页面,则会出现此错误.

请提出

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="style.css" rel="stylesheet" type="text/css" />
<title>Welcome</title>


<script type="text/javascript" src="jquery.js"></script>
    <script type="text/javascript">
$(document).ready(function () { 

    $('#nav li').hover(
        function () {
            //show its submenu
            $('ul', this).slideDown(100);

        }, 
        function () {
            //hide its submenu
            $('ul', this).slideUp(100);         
        }
    );

});
    </script>

</head>

<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="header">&nbsp;</td>
  </tr>
  <tr>
    <td class="menu"><table align="center" cellpadding="0" cellspacing="0" width="80%">
    <tr> …
Run Code Online (Sandbox Code Playgroud)

php session

13
推荐指数
5
解决办法
11万
查看次数

在输入框中获取url值

在我的html页面中,我有这样的链接

<table width="100%" border="0" cellspacing="4" cellpadding="4">
          <tr>
            <td><a href="ApplicationRegister.php?plan=trial"><img src="images/box4.png" width="230" height="300" /></a></td>
            <td><a href="ApplicationRegister.php?plan=plan1"><img src="images/box1.png" width="230" height="300" /></a></td>
            <td><a href="ApplicationRegister.php?plan=plan2"><img src="images/box2.png" width="230" height="300" /></a></td>
            <td><a href="ApplicationRegister.php?plan=plan3"><img src="images/box3.png" width="230" height="300" /></a></td>
          </tr>
        </table>
Run Code Online (Sandbox Code Playgroud)

当我点击任何一个图像时,它将转到带有plan =相应值的ApplicationRegister.php页面.

在我的ApplicationRegister.php中,我有一个注册表

<form action="emailconfirmation.php" method="post" name="form1" id="form1"  onsubmit="return Validate();">
    Company Name: 
        <input type="text" name="CompanyName" style="width:230px; height:20px;" /><br /><br />
    Company E-mail : 
    <input type="text" name="Companyemail" style="width:230px; height:20px;" /><br /><br />
     Company Contact <input type="text" name="CompanyContact" style="width:230px; height:20px;" /><br /><br />
     Company Address: <input type="text" name="CompanyAddress" style="width:230px; …
Run Code Online (Sandbox Code Playgroud)

javascript php

0
推荐指数
1
解决办法
2064
查看次数

标签 统计

php ×2

javascript ×1

session ×1