Need a php script to upload bitmapdata into a mysql table (BLOB) from Flash AS3

I need help in a php script. Have spent half a day searching high and low but couldnt get anything work.

Basically, i want a sample php script, that can let me call from Flash, to save a bitmap data as a record into a mysql table!

Thanks...

Answers


As far as Flash is concerned, you need to turn your BitmapData object into a ByteArray

Look into Zend AMF or amfphp for communication with PHP, both will allow you to pass the ByteArray as a variable . Zend Amf Lee Brimelow | ZendAmf Video tutorial

As for the PHP script, as soon as you get the ByteArray variable in PHP, it's a straightforward Mysql connection , only you need to save your data as a blob. Store images in Mysql tutorial


Need Your Help

Exit popup show when scroll down for html site

jquery html

Hello guys I need one help or suggestion , when user will be scroll down then show exit popup window . please suggest me . thanks

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.