PHP标题位置在Fancybox中打开 [英] PHP header Location opening in Fancybox
本文介绍了PHP标题位置在Fancybox中打开的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Currently I am using Fancybox for links in my page...
e.g.
<pre lang="HTML"><a class="fancybox fancybox.iframe more_info_btn" href='<?=$someurl?>'>LINK1</a>
在我的一个页面上,我有表格,在提交用户被重定向到另一个链接。使用的代码如下
On my one page I have form , On submit user get redirected to another link . code used is as follows
<?php
.....
.....//all code
// and after that..
$url1 = 'http://example.com/page2.php';
$_SESSION["Register_id"]="suceess";
header("Location: ".$url1);
}
?>
可以我重定向用户进行了一些更改
Can I redirect user with some changes in
header("Location: ".$url1);
到fancybox打开而不是page2。 php在主浏览器选项卡中?
to fancybox opened instead of page2.php in main browser tab ?
推荐答案
someurl?>'> LINK1 < / / span> a >
someurl?>'>LINK1</a>
在我的一个页面上,我有表单,在提交用户时被重定向到另一个链接。使用的代码如下
On my one page I have form , On submit user get redirected to another link . code used is as follows
<?php
.....
.....//all code
// and after that..
url1 = ' http://example.com/ page2.php';
_SESSION [ Register_id] = suceess;
header( 位置:。
_SESSION["Register_id"]="suceess"; header("Location: ".
这篇关于PHP标题位置在Fancybox中打开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文