【发布时间】:2010-09-26 02:40:03
【问题描述】:
如何让 PHP 函数在运行完成后转到特定网站?
例如:
<?php
//SOMETHING DONE
GOTO(http://example.com/thankyou.php);
?>
我真的很想要以下...
<?php
//SOMETHING DONE
GOTO($url);
?>
我想做这样的事情:
<?php
//SOMETHING DONE THAT SETS $url
header('Location: $url');
?>
【问题讨论】: