Flash播放器IE7 BitmapData使用amfphp发送到服务器

发布于 2024-07-24 23:58:08 字数 320 浏览 3 评论 0原文

有没有人遇到过这种故障。

所以我有某种图像上传器。

它获取图像,并从中获取位图数据。 使用 jpgencoder 将其转换为字节数组,使用 amfphp 将该字节数组发送到服务器,并在 php 中将其保存为服务器上的 jpg。

所以这在 FF、Chrome、Safari、Opera(Mac 和 Windows)中效果很好 但是当我在 IE7 上尝试时。 它第一次工作,但是当我再次尝试它时,它似乎将第一张图片(字节数组)发送回服务器。 (如果我比较查尔斯赶上的字节数组代码)

有人遇到过这种错误吗? 问题? 有解决办法吗?

Does anybody experienced this kind of fault.

So i have some kind of imageuploader.

It fetches an image, grabs the bitmap data from it. convert that with a jpgencoder to a bytearray, send that bytearray to a server with amfphp and in php save that as a jpg on the server.

So this works great in FF, Chrome, Safari, Opera ( Mac & Windows )
But when i try it on IE7. It works for the first time but when i try it another time it seems to send the first picture(bytearray) back to the server. (if i compare the bytearray code that charles catches up)

anybody experienced this kind of bug? problem? is there a solution for this ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

余罪 2024-07-31 23:58:08

所以我想通了。 IE7缓存问题。

?Math.random();

做了很多:)

So i figured it out. IE7 caching problem.

?Math.random();

does a lot :)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文