1. exit()
本函式直接结束 PHP 程式 (Script)。不需输入参数,亦无传回值。
2.ob_start, ob_end_flush:
<?php
ob_start(); //打开缓冲区
echo "Hellon"; //输出
header(“location:index.php”); //把浏览器重定向到index.php
ob_end_flush();//输出全部内容到浏览器
?>
本函式直接结束 PHP 程式 (Script)。不需输入参数,亦无传回值。
2.ob_start, ob_end_flush:
<?php
ob_start(); //打开缓冲区
echo "Hellon"; //输出
header(“location:index.php”); //把浏览器重定向到index.php
ob_end_flush();//输出全部内容到浏览器
?>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货