对于使用标题函数的页面,我有以下代码:
<?php
if (!defined('pagescope')) die('Please Try your Luck Somewhere else! Your IP Address has been logged!');
define('pagescope', 'true');
require'config.php';
*some Query processing with no echo command
//$query1 = "select * from users";
if($query_run = mysql_query($query))
{
$id=mysql_insert_id();
header("Location: http://www.pingcampus.com/mysql/cropupload/jquery_upload_cropv1.2/upload_dp.php?id=$id&email=$contact_email&gender=$gender");
} else {
echo mysql_error();
}
?>
*我已经确保页面上没有 echo 语句,也没有给出错误!但它只是不重定向!它在我的本地主机上也可以正常工作,但在我的主机上却不行*