在php中打开另一个页面 [英] Open another page in php
本文介绍了在php中打开另一个页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
可能的重复:
PHP 页面重定向
一旦进程完成,我如何重定向到 php 中的另一个页面.
how do i redirect to another page in php, once a process is finished.
例如我的 标签将 action 属性设置为process.php".在 process.php 上的进程完成后,我希望它重定向到它来自的站点.这是怎么做的?
for example my <form>
tag sets the action attribute to "process.php". After the process on process.php is finished i want it to redirect to the site it cam from. how is that done?
推荐答案
使用以下代码:
if(processing == success) {
header("Location:filename");
exit();
}
你可以走了.
这篇关于在php中打开另一个页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文