关于URL传递函数的问题?快来帮帮我呀,很急!很急!一定给分!!!! <?phpif (!$_GET['id']) header("Location:sorry.php"); ?> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <?phpif ($_REQUEST['id']=="") header("Location:sorry.php"); ?> <?phpif (@$_GET['id']=="") header("Location:sorry.php"); ?>试一下. <?phpif ($_REQUEST['id']=="") header("Location:sorry.php"); ?> $id = $_GET['id'];if (empty($id)) { header("Location:sorry.php"); } empty用来测试变数是否已经设定。若变数已存在、非空字串或者非零,则传回 false 值;反之传回 true HttpQueryInfo报错 file_get_contents('网址'),得到的页面大小为Okb notes邮件导入mysql 注册表单怎么才能支持繁体字? PHP 读取mysql数据只有360浏览器可以显示数据,其他浏览器不能显示 MYSQL语句,如何查询2周以内的记录高手进 基础:关于PHP松散比较 请问WEB程序如何实现打印票据? 请问PHP中有没有类似ASP中WebEdit这样的所见即所得的编辑工具?(在线等) 怎么在apache服务器配置自动识别大小写? ??请教树形结构中目录结点的转移逻辑?? 高手请教
if ($_REQUEST['id']=="") header("Location:sorry.php");
?>
if (@$_GET['id']=="") header("Location:sorry.php");
?>
试一下.
if ($_REQUEST['id']=="") header("Location:sorry.php");
?>
if (empty($id)) { header("Location:sorry.php"); }