2012-06-24 50 views
0

成功输入登录信息后,我网站的会员应该被发送到会员目录。但是,点击“登录”按钮后,它们全部被发回到我的网站的主页。会员登录页面只发送会员返回主页

我的网站有一些最近的变化,这可能是原因,但我不明白它可能是什么。我没有触及登录编码。

,我指的登录页面是http://www.teleworkrecruiting.com/page25.html

任何反馈会如此赞赏。

谢谢 帕梅拉

CODE:

<div id="Ggeo768" class="dfltc"> 
<h1 align="center"> <font face="arial">Login Required </font></h1> 
<div align="center"><FONT face="Arial">Members, log in to access the latest hiring  companies and 
jobs.<BR> 
</FONT> <font face="Arial">If you are not a registered user, <a  href="telecommute.html"> CLICK HERE</a> 

and sign up for access!</font></div> 
<p align="center"> 
<form method="post" action="/"dir09.php"> 

<div align="center">User ID: 
<input type="text" name="uid" size="8" /> 
<br /><br> 
Password: 
<input type="password" name="pwd" SIZE="8" /> 
<br /><br> 
<input type="submit" value="Log in" /> 
</div> 
</form> 
<div align="center"></p> </div> 
</body> 

</html></div> 
</div> 

<div id="Oobj590" style="position:absolute;z-index:7;visibility:visible;   left:563px;top:25px;width:158px;height:65px;"> 
<div id="Grtf591" class="dfltt"> 
<div align="center"><font face="Arial" class="fsx05" color="#ffffff">   <B>Telecommuting<br> 
Job Seekers<br> 
<a href="telecommute.html"><font color="#ffffff">Click Here</font></a><br></B></font> </div> 
</div> 
</div> 

<div id="Oobj1325" style="position:absolute;z-index:8;visibility:visible; left:275px;top:824px;width:400px;height:19px;"> 
<div id="Grtf608" class="dfltt"> 
<div align="center"><font face="Arial" class="fsx01" color="#ff0000">Lost your  username or password?&nbsp; </font><font face="Arial" class="fsx01">Write to <a   href="mailto:[email protected]?subject=Lost username or password"   title="Administrator">[email protected]</a><br></font></div> 
</div> 

+0

很多可能的原因。你能至少发布成功登录时执行的代码吗? – nullpotent

+0

完全同意@AljoshaBre。罪魁祸首必须在'/ dir09.php'中。请发布该文件中的代码,我们可以帮助你。请注意,您可能会希望排除一些敏感的代码。 – lkaradashkov

+0

当然,谢谢你抽空看看。 –

回答

0

page25.html(上面的评论跟进),注意form标签的declaratin:

<form method="post" action="/"dir09.php"> - action属性中有一个额外的撇号!用此代替:

<form method="post" action="/dir09.php">

+0

好吧,我想我有点理解。我能够在html中复制整个页面。它非常长。我可以把它寄给你吗? –

+0

在我们这样做之前,请在'dir09.php'中寻找以下内容:'header(“Location:'** or **'http_redirect'),这就是在PHP中启动重定向的方式。在“位置:”字符串后更改目标页面 – lkaradashkov

+0

我使用所见即所得的编辑器,我无法改变这种东西 –