且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用Javascript调整图像大小后,如何使用$ _POST通过PHP进行上传

更新时间:2023-01-15 12:27:03

Well, since you have a base64 encoded image in src attribute of your resized <img>, you could put that value into a hidden input and upload the bas64 string (instead of real image). Then you can decode the image in your PHP script and save it the way you need.

相关阅读

技术问答最新文章