# Flash upload form

**URL:** <https://forum.kirupa.com/t/flash-upload-form/157800>\
**Category:** Uncategorized\
**Created:** [August 4, 2005, 11:53am UTC](https://forum.kirupa.com/t/flash-upload-form/157800 "2005-08-04T11:53:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimjiminyjimjim](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@jimjiminyjimjim](https://forum.kirupa.com/u/jimjiminyjimjim)\
**Post date:** [August 4, 2005, 11:53am UTC](https://forum.kirupa.com/t/flash-upload-form/157800/1 "2005-08-04T11:53:10Z")

</div>

Having read many articles, downloaded yamzbrowser and many other scripts I am still none the wiser about the best way to upload a file to a server. One of the main problems is that I am developing the site on a mac and the end user will be on a windows system.

The reason I need an upload form is because I am developing a content management site for the end user so that they will be able to update a MySQL database. All I need now is for them to have the ability to upload an image to the server as well.

I have no problems with an external html popup window so I can create a PHP upload script fairly easily and then have a link on the flash site to bring it up. The only thing I really need now is to know if there is a way that PHP can the send the uploaded filename back to flash as variable so it can appear in a dynamic text box once the file is uploaded.

As I have been calling all my PHP so far with sendAndLoad I am confused as to how flash could “listen” for this variable being sent?

If anyone can help me that would be great.

Also - if I am testing this on my computer using the apache server on os x will the file actually get copied to the web server space?
