Php+flash made an online camera to take photos, how to save pictures locally

Source: Internet
Author: User
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

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.