# Upload multiple files!

**URL:** <https://forum.kirupa.com/t/upload-multiple-files/276012>\
**Category:** flash\
**Created:** [November 21, 2008, 9:22am UTC](https://forum.kirupa.com/t/upload-multiple-files/276012 "2008-11-21T09:22:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wampiro\_UHA](https://avatars.discourse-cdn.com/v4/letter/w/eb9ed0/32.png) [@Wampiro\_UHA](https://forum.kirupa.com/u/Wampiro_UHA)\
**Post date:** [November 21, 2008, 9:22am UTC](https://forum.kirupa.com/t/upload-multiple-files/276012/1 "2008-11-21T09:22:40Z")

</div>

I’m trying to make a button which can upload multiple files in Flash.  
This is my code so far:  
AS3: [http://pastie.org/320443](http://pastie.org/320443)  
PHP: [http://pastie.org/320444](http://pastie.org/320444)

The problem is that the console in Flash does say that the files are uploaded, but they are not.  
I’ve tried to replace the PHP to just echo “test”; and Flash still says it is uploaded.

So what is wrong with the script and why does Flash says that files are uploaded when they aren’t?
