php intval

get是通过URL传参,容易暴露,容易被sql注入,防止sql注入的方式之一是:加intval($_GET['id']);

猜你喜欢

转载自www.cnblogs.com/xujiucheng/p/9466072.html
php