# Help with File Upload Tutorial

**URL:** https://forum.kirupa.com/t/help-with-file-upload-tutorial/227627
**Category:** flash
**Created:** [May 31, 2007, 8:40pm UTC](https://forum.kirupa.com/t/help-with-file-upload-tutorial/227627 "2007-05-31T20:40:47Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![quovadimus02](https://avatars.discourse-cdn.com/v4/letter/q/b3f665/32.png) [@quovadimus02](https://forum.kirupa.com/u/quovadimus02)
#### Post date: [May 31, 2007, 8:40pm UTC](https://forum.kirupa.com/t/help-with-file-upload-tutorial/227627/1 "2007-05-31T20:40:47Z")

</div>

I followed the directions in the following tutorial and was able to get it to work [http://www.kirupa.com/developer/flash8/uploading\_fileReference\_pg1.htm](http://www.kirupa.com/forum/../developer/flash8/uploading_fileReference_pg1.htm). The only problem I’m having though is trying to upload a file greater than 10MB. Anything under 10MB uploads perfectly, anything over fails for some reason. The max upload file size is set to 20MB in my php.ini file so I can’t think of any reason why this would be failing. I’m no PHP/developer guy so any ideas would be awesome.

My PHP looks nearly identical to the script offered in the tute.

```php

<?php
    if ($_FILES['Filedata']['name']) {
        move_uploaded_file($_FILES['Filedata']['tmp_name'], 'uploads/' . basename($_FILES['Filedata']['name']));
    }
?>

```
