doubo1711 2014-10-30 12:25
浏览 32
已采纳

通过php将图像Flex映射到mysql blob

I want store images from a flex application in a mysql database i a blob field, but it's taking me a lot of troubles.

I guess need to send from httpservice to php script the image, but... the flex httpservice send parameters by $_REQUEST and php needs $_FILES to split the data and the mimetype.

There is a way to use the $_REQUEST variable as $_FILES? or a way to split the image data since flex before send it?

  • 写回答

1条回答 默认 最新

  • dongwenhui8900 2014-10-31 01:00
    关注

    You can achieve this using the upload() method from the flash.net.FileReference class

    Here is a post on adobe that addresses this exact problem: http://www.adobe.com/cfusion/google/communityengine/index.cfm?postId=5241&productId=2

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
编辑
预览

报告相同问题?

手机看
程序员都在用的中文IT技术交流社区

程序员都在用的中文IT技术交流社区

专业的中文 IT 技术社区,与千万技术人共成长

专业的中文 IT 技术社区,与千万技术人共成长

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

客服 返回
顶部