<?
$ynhead1="1";
$title="时尚同学录帮助";
include"header.php";
if($helptype=="")
{
print<<<eot
<table width="750" border="1" cellspacing="0" cellpadding="3" align="center" bordercolorlight="#B5E1F7" bordercolordark="#FFFFFF">
 <tr>
  <td bgcolor="#B5E1F7" align="center"><b><font color="#000066">时尚同学录帮助</font></b></td>
 </tr>
 <tr>
  <td>
   <table width="90%" border="0" cellspacing="0" cellpadding="8" align="center">
    <tr>
     <td>常规帮助文件</td>
    </tr>
    <tr>
     <td><a href="help.php?helptype=msg">关于短消息的帮助</a></td>
    </tr>
    <tr>
     <td><a href="help.php?helptype=xiu">关于更改信息的帮助</a></td>
    </tr>
    <tr>
     <td><a href="help.php?helptype=gb">关于发留言的帮助</a></td>
    </tr>
    <tr>
     <td><a href="help.php?helptype=getpass">关于遗忘密码的帮助</a></td>
    </tr>
   </table>
  </td>
 </tr>
</table>
eot;
}
#########
if($helptype=="msg")
{
print<<<eot
<table width="750" border="1" cellspacing="0" cellpadding="3" align="center" bordercolorlight="#B5E1F7" bordercolordark="#FFFFFF">
 <tr>
  <td bgcolor="#B5E1F7" align="center"><b><font color="#000066">时尚同学录帮助</font></b></td>
 </tr>
 <tr>
  <td>
   <table width="90%" border="0" cellspacing="0" cellpadding="8" align="center">
    <tr>
     <td>
      <p align="center"><b>短信息帮助</b></p>
      <p>短信息功能也相当于留言,所不同的是他可以在用户登录班级的情况下即时收发消息,方便简洁。 </p>
      <p>发送消息:登录用户方能发送消息,一种是自己填写收件人名称(该用户必须是同学录的注册用户)和完整的标题和内容。发送消息后,该消息内容同时存入你的发件箱中。
      </p>
      <p>收件箱:登录班级后点击左方我的消息的连接,列出所有已读和未读的消息及其标题、发件人,可以进行读取信息和全部删除操作。 </p>
      <p>发消息:登录班级入发消息页面,即可直接进入用户列表,这里选择你要发短消息的人。</p>
      <p>新消息:登录班级后,每当有别人给你发送新的短消息,或者原来的消息还未读取,都将自动弹出新消息提示框,直接点击后阅读。 </p>
      <p></p>
     </td>
    </tr>
   </table>
  </td>
 </tr>
</table>
eot;
}
##########3
if($helptype=="xiu")
{
print<<<eot
<table width="750" border="1" cellspacing="0" cellpadding="3" align="center" bordercolorlight="#B5E1F7" bordercolordark="#FFFFFF">
 <tr>
  <td bgcolor="#B5E1F7" align="center"><b><font color="#000066">时尚同学录帮助</font></b></td>
 </tr>
 <tr>
  <td>
   <table width="90%" border="0" cellspacing="0" cellpadding="8" align="center">
    <tr>
     <td>
      <p align="center"> <b>更改个人信息帮助</b></p>
      <p>只有登录用户才能进行此项操作,原注册用户名不可修改,可以更新的信息如下: </p>
      <p>密码:登录同学录所用 <br>
       性别:将显示在你的资料中 <br>
       Email地址:必须填入正确合法的邮箱地址,经待忘记密码后可以取回密码。<br>
       个人主页:可选项 <br>
       OICQ:可选项 <br>
       没有打<font color="#FF0000">*</font>号的为可选填写内容。</p>
      <p><br>
      </p>
     </td>
    </tr>
   </table>
  </td>
 </tr>
</table>
eot;
}
########
if($helptype=="gb")
{
print<<<eot
<table width="750" border="1" cellspacing="0" cellpadding="3" align="center" bordercolorlight="#B5E1F7" bordercolordark="#FFFFFF">
 <tr>
  <td bgcolor="#B5E1F7" align="center"><b><font color="#000066">时尚同学录帮助</font></b></td>
 </tr>
 <tr>
  <td>
   <table width="90%" border="0" cellspacing="0" cellpadding="8" align="center">
    <tr>
     <td>
      <p align="center"> <b>发表留言帮助</b></p>
      <p>于新留言的帮助: <br>
       你必须是注册用户并登陆了班级才可以在班级留言本中发表留言。 </p>
      <p>班级留言本支持用户头像功能。</p>
      <p>除班级管理员外,只能删除自己发的留言。<br>
      </p>
      </td>
    </tr>
   </table>
  </td>
 </tr>
</table>
eot;
}
#########
if($helptype=="getpass")
{
print<<<eot
<table width="750" border="1" cellspacing="0" cellpadding="3" align="center" bordercolorlight="#B5E1F7" bordercolordark="#FFFFFF">
 <tr>
  <td bgcolor="#B5E1F7" align="center"><b><font color="#000066">时尚同学录帮助</font></b></td>
 </tr>
 <tr>
  <td>
   <table width="90%" border="0" cellspacing="0" cellpadding="8" align="center">
    <tr>
     <td>
      <p align="center"> <b>关于遗忘密码的帮助</b></p>
      <p>如果遗忘密码,你可要求系统将密码发往你注册时所登记的信箱里。 </p>
      <p>只要输入你注册的帐号,系统会马上发送你的密码。其他人是无法就此得知你的密码的,因为系统是根据你所提供的用户名把密码发往你个人资料库中所记录的Email地址。</p>
      <p>如果你在注册时没有填写Email,请写信与系统管理员联系:[email protected]。</p>
      <p>&nbsp;</p>
      <p align="center"><br>
      </p>
      </td>
    </tr>
   </table>
  </td>
 </tr>
</table>
eot;
}
include"footer.php";
?>

解决方案 »

  1.   

    PHP从4.2.0开始将PHP.INI中 register_global设为0
    也就是说关闭了自动将网页中Form里的变量自动“注册”为全局变量的功能。
    你可以修改一下php.ini文件,然后重启Apache服务器进行测试。
    当然,最好是能修改源代码,因为不自动注册会更安全。
      

  2.   

    奇怪,装文本型BBS就有这问题,装MYSQL的就没有
      

  3.   

    设置register_globals = ON了,还是不行,还有哪儿要改吗?
      

  4.   

    php.ini中:
    error_reporting  =  E_ALL & ~E_NOTICE