开发者

saving image file from other site, with javascript

开发者 https://www.devze.com 2023-02-16 22:28 出处:网络
I\'ve done it before on PHP, 开发者_开发百科but now i need do this on javascript. As far as i know, ajax works with only yourself hosts..The only way to to this (cross-domain) is with the help of a se

I've done it before on PHP, 开发者_开发百科but now i need do this on javascript. As far as i know, ajax works with only yourself hosts..


The only way to to this (cross-domain) is with the help of a server script. Why don't you just send POST data to your server-script, and have that script read and save the off-site image.

0

精彩评论

暂无评论...
验证码 换一张
取 消