$events_meta['ets_images'] = ($_POST['ets_images'] ) ? $_POST['ets_images'] : '';
我收到这个错误
检测到未验证的输入变量的用法:$ _POST
#1
我假设你想知道错误的含义。告诉你, 你正在使用$ _POST [‘ets_images’]中的数据, 而没有先检查和清理其内容。这在你的应用程序中可能是有害和危险的, 因为没有什么可以阻止攻击者滥用$ _POST [‘ets_images’]。
<?php
$events_meta['ets_images'] = '';
if (isset($_POST['ets_images'])) {
$events_meta['ets_images'] = strval($_POST['ets_images']); // make sure it will be a string
}
?>
来源:
https://www.srcmini02.com/64292.html
微信公众号
手机浏览(小程序)
Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(): Failed to enable crypto in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_37481.jpg): failed to open stream: operation failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57