为了账号安全,请及时绑定邮箱和手机立即绑定

返回两个”未定义索引act/filename“的notice

是怎么回事呢?

Notice: Undefined index: act in C:\xampp\htdocs\idhk\file\index.php on line 7

Notice: Undefined index: filename in C:\xampp\htdocs\idhk\file\index.php on line 8

正在回答

2 回答

用isset()进行判断下。

1 回复 有任何疑惑可以回复我~
$act=isset($_GET['act']) ? trim($_GET['act']) : "";

贴上来挖个坑

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

返回两个”未定义索引act/filename“的notice

我要回答 关注问题
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号