Php+flash made an online camera to take photos, how to save the picture on the local
The camera call part of their own has been written, because more photos taken, now want to take the camera to save the photos in the local, and then upload with FTP, the problem is that the photo was taken well, do not know how to save in the local, please give me an example, train of thought also can be appreciated!
------Solution--------------------
This post was last edited by xuzuning on 2013-03-02 19:05:18
If Flash can't read and write local files, then what's the use of flash?
JS are all possible (just to pop up the Security Warning dialog box)
------Solution--------------------
Should only be stored on the server, automatically stored on the client computer should not be very realistic, you can use the second floor method, you need to click to download and upload or directly from the server with PHP ftp function uploaded to the destination server, the only way to save to the client is to download from the server
------Solution--------------------
Feel, the idea of the landlord seems to be converted to--flash the picture into a data stream (directly with the class can be used, such as: Jpgencoder), and then submitted to the PHP save on the line, Flash is unable to save the file (except for the desktop Project--air).
PHP Save the file is not difficult
Before doing a similar project, unfortunately can not find things, I php dishes, save the file method is from the degree Niang find