第一种方法:
用header()函数;
header ( "Location: http://www.xaheimi.com/aaa.php" );
或:
header ( "Location: aaa.php" );
第二种方法:
在服务器端执行:
即在服务器端PHP文件解析的时候执行,使用include(),require()函数将文件引入
include("thatday.php");
然后调用thatday.php中的主函数
第三种方法:
在客户端执行:
此方法的效果等同于iframe,即会产对所执行文件的一次访问.
<img src="thatday.php" width="0" height="0" border="0">