菜鸟问题:退出问题 <script language=javascript> window.parent.location.href = index.php; </script> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 logout.php<?phpsession_start(); session_destroy(); header("location:login.php?action=logout");?> <script language=javascript> window.parent.location.href = index.php; </script>这样用action=logout怎么传递? <script language=javascript> window.parent.location.href = 'index.php?action=logout'; </script>这样用action=logout怎么传递? <?phpsession_start(); session_destroy(); echo "<script>window.open('login.php?action=logout','_top');</script>";?> top.html<a href="javascript:Logout()">退出</a>logout.php<?php@session_destroy();header("Location:'login.php?action=logout'");?> <a herf="#" target=""></a> 方法在target中 好象是_TOP 嘿嘿 就那么几个试试就知道了 <script>function Logout(){ top.location = 'logout.php'; }</script>忘了要在top.html 加上上面的js。 top.html<a href="http://localhost/logout.php">退 出</a>logout.php<?phpsession_start(); session_destroy(); echo "<script>window.parent.location.href='login.php?action=logout';</script>";?>晕,上次给你提示了呀,这样就可以了. echo "<script>location.href='login.php?action=logout';</script>";是的啊你上面的那句话就是打开登陆界面的啊echo "<script>window.location='login.php?action=logout';</script>";试试 top.html<a href="http://localhost/logout.php" target="_parent">退 出</a>logout.php<?phpsession_start(); session_destroy(); echo "<script>location.href='login.php?action=logout';</script>";?> <a href="http://localhost/logout.php">退 出</a>少了一个_target,<a href="http://localhost/logout.php" _target="****">退 出</a>****为你框架的名称。 帮忙改下一条查询语句 带验证码的表单提交抓取 制作动态图表用什么技术? bbs的通行证怎样和两个网站同时登录 如何点击IE或者点击鼠标右建菜单“刷新”操作时,使从表单上取得查询条件清空 各位大侠.谁知道这个网站是用什么开发的呢? 新闻标题列表问题! 怎样制作客户调查反馈表?分不够再加 初学:PHP+MS SQL SERVER ??? 江湖告急!请正则高手出手援助,php查询数据库如mongo的一个棘手问题! 请问Ajax怎样获取php中变量的值? CakePHP那么热,大家都不讨论一下吗?
<?phpsession_start();
session_destroy();
header("location:login.php?action=logout");?>
window.parent.location.href = index.php;
</script>这样用action=logout怎么传递?
window.parent.location.href = 'index.php?action=logout';
</script>这样用action=logout怎么传递?
session_destroy();
echo "<script>window.open('login.php?action=logout','_top');</script>";?>
<a href="javascript:Logout()">退出</a>
logout.php
<?php
@session_destroy();
header("Location:'login.php?action=logout'");?>
function Logout(){
top.location = 'logout.php';
}
</script>忘了要在top.html 加上上面的js。
<a href="http://localhost/logout.php">退 出</a>logout.php
<?phpsession_start();
session_destroy();
echo "<script>window.parent.location.href='login.php?action=logout';</script>";?>晕,上次给你提示了呀,这样就可以了.
是的啊
你上面的那句话就是打开登陆界面的啊
echo "<script>window.location='login.php?action=logout';</script>";
试试
<a href="http://localhost/logout.php" target="_parent">退 出</a>logout.php
<?phpsession_start();
session_destroy();
echo "<script>location.href='login.php?action=logout';</script>";?>
少了一个_target,<a href="http://localhost/logout.php" _target="****">退 出</a>
****为你框架的名称。