Is there any way to get size of POST-request body in PHP?
5条回答 默认 最新
- douyu4822 2009-09-01 09:24关注
My guess is, it's in the
$_SERVER['CONTENT_LENGTH']
.And if you need that for error detection, peek into
$_FILES['filename']['error']
.解决 无用评论 打赏 举报