PHP重定向 [英] PHP Redirect

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

问题描述

嗨大家好。


有人可以帮我理解如何在PHP脚本中从

进行简单的重定向吗?


我正在寻找Perl相当于打印的位置:......


谢谢。


DL

Hi folks.

Could someone please help me understand how to do a simple redirect from
inside a PHP script?

I''m looking for the Perl equivalent of print "Location: ...."

Thanks.

DL

推荐答案

Don Lippsaécritle23/01/2004:
Don Lipps a écrit le 23/01/2004 :
嗨伙计们。

有人可以帮我理解如何在PHP脚本中从
进行简单的重定向吗?

我正在寻找相当于打印的Perl 位置:....

谢谢。

DL
Hi folks.

Could someone please help me understand how to do a simple redirect from
inside a PHP script?

I''m looking for the Perl equivalent of print "Location: ...."

Thanks.

DL




标题(&Location) :http:// uri");

详见手册



header("Location: http://uri");
See manual for details


header(" Location: http:// uri");
header("Location: http://uri");




完美! Merci beaucoup!


DL



Perfect! Merci beaucoup!

DL


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

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