php 处理 base64 编码图片文件错误问题 获得数据包含<x> 特殊字符

弃用$_POST 获得数据方式


换用以下方式:

1、 $GLOBALS ["HTTP_RAW_POST_DATA"]

2、file_get_contents('php://input')

并记得urldecode;

 

猜你喜欢

转载自www.cnblogs.com/whyloveldm/p/10563080.html