# Send and save an image to the server without user interaction

**URL:** https://forum.kirupa.com/t/send-and-save-an-image-to-the-server-without-user-interaction/315860
**Category:** flash
**Created:** [November 5, 2010, 7:37pm UTC](https://forum.kirupa.com/t/send-and-save-an-image-to-the-server-without-user-interaction/315860 "2010-11-05T19:37:55Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![NikoAS3](https://avatars.discourse-cdn.com/v4/letter/n/c4cdca/32.png) [@NikoAS3](https://forum.kirupa.com/u/NikoAS3)
#### Post date: [November 5, 2010, 7:37pm UTC](https://forum.kirupa.com/t/send-and-save-an-image-to-the-server-without-user-interaction/315860/1 "2010-11-05T19:37:55Z")

</div>

With the FileReference class, it is quite easy to send an image to the server. But it requires user interaction. What if you need to send an image the user has drawn or captured form the webcam? Then send the data as a ByteArray and let the PHP save the raw data.

Read more and download source files:

> **[The simplest way to send an image from Flash to PHP without user interaction |...](http://nikohelle.net/2010/11/03/the-simplest-way-to-send-an-image-from-flash-to-php-without-user-interaction/)**
>
> With the FileReference class, it is quite easy to send an image to the server. But it requires user interaction. What if you need to send an image the user has drawn or captured form the webcam? Then send the data as a ByteArray and let the PHP save...
