场景:js发送blog数据,php端接收blog数据。

$content = file_get_contents($_FILES['blob']['tmp_name']);

file_put_contents('x.jpg',$content);

备注:2020.8.25 dep log