十年网站开发经验 + 多家企业客户 + 靠谱的建站团队
量身定制 + 运营维护+专业推广+无忧售后,网站问题一站解决
//参数过滤
创新互联专注于企业成都全网营销推广、网站重做改版、千阳网站定制设计、自适应品牌网站建设、H5开发、成都做商城网站、集团公司官网建设、成都外贸网站建设公司、高端网站制作、响应式网页设计等建站业务,价格优惠性价比高,为千阳等各大城市提供网站开发制作服务。
$sVariablesOrder = ini_get( 'variables_order' );
$request = array();
//过滤不安全数据
for ( $i = 0; $i < strlen( $sVariablesOrder ); $i++ ){
$cVariableFlat = strtolower( $sVariablesOrder[$i] );
switch ( $cVariableFlat ){
case 'e':
$filtered = filter_input_array ( INPUT_ENV, FILTER_SANITIZE_SPECIAL_CHARS );
break;
case 'g':
$filtered = filter_input_array ( INPUT_GET, FILTER_SANITIZE_SPECIAL_CHARS );
break;
case 'p':
$filtered = filter_input_array ( INPUT_POST, FILTER_SANITIZE_SPECIAL_CHARS );
break;
case 'c':
$filtered = filter_input_array ( INPUT_COOKIE, FILTER_SANITIZE_SPECIAL_CHARS );
break;
case 's':
$filtered = filter_input_array ( INPUT_SERVER, FILTER_SANITIZE_SPECIAL_CHARS );
break;
}
if ( !empty( $filtered ) ){
$request = array_merge( $request, $filtered );
}
}