PHP标头重定向在新窗口中? [英] PHP Header Redirect in a new window?

查看:74
本文介绍了PHP标头重定向在新窗口中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于横幅广告管理系统,我使用

For a banner management system i use a

 header("Location: http://www.awebsite.com");

重定向到正确的网站.是否可以强制此标头脚本在新窗口中打开?

to redirect to the proper website. Is it possible to force this header script to open in a new window?

推荐答案

<a href='yourbannerscript.php' target='_blank'>...</a>

这篇关于PHP标头重定向在新窗口中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆