PHP + FLASH used an online camera to take a photo and how to save the image locally

Source: Internet
Author: User
PHP + FLASH has made an online camera to take a photo. how to save the image locally & nbsp; the camera call part has already been written by myself, because there are a lot of photos taken, I want to save the photos taken by the camera locally and then upload them using FTP. The problem is that after the photos are taken, I don't know how to save them locally, thank you for giving me an example! ---- PHP + FLASH used an online camera to take a photo. how can I save the image locally?
I have already written some of the camera calls, because there are many photos taken. now I want to save the photos taken by the camera locally and then upload them using FTP. The problem is that after the photos are taken, I don't know how to save it locally. please give me an example. The idea is also good. thank you very much!


------ Solution --------------------

This post was last edited by xuzuning at 19:05:18

If Flash cannot read or write local files, what is the use of Flash?
JavaScript is acceptable (only the security warning dialog box is displayed)
------ Solution --------------------
It should only be stored on the server and automatically stored on the client computer. it should not be very realistic. you can use the second-floor method, you need to click download before uploading, or directly use the ftp function of php to upload data from the server to the target server. the only way to save the data to the client is to download the data from the server.
------ Solution --------------------
It seems that the idea of the landlord should be converted. flash converts the image into a data stream (directly available classes, such as JPGEncoder), and then submits it to php for saving, flash cannot save files (except for desktop project-air ).
Saving files in php is not difficult.
I have done a similar project before, but unfortunately I can't find anything. I am using PHP to save files.

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.