# PHP File Upload Problem

**URL:** https://forum.kirupa.com/t/php-file-upload-problem/295143
**Category:** programming
**Created:** [August 25, 2009, 10:04pm UTC](https://forum.kirupa.com/t/php-file-upload-problem/295143 "2009-08-25T22:04:18Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mafordha](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/mafordha/32/668_2.png) [@mafordha](https://forum.kirupa.com/u/mafordha)
#### Post date: [August 25, 2009, 10:04pm UTC](https://forum.kirupa.com/t/php-file-upload-problem/295143/1 "2009-08-25T22:04:18Z")

</div>

Hello all,

A php file upload script that used to work for me is no longer. The uploads generate a PHP file error of “1”, which mean “The uploaded file exceeds the upload\_max\_filesize directive in php.ini”, according to the PHP docs.

The problem is that the “upload\_max\_filesize” option in my php.ini is bigger than the files I am attempting to upload.

Any idea what else could cause the error, other than the files being too big?

Thanks for any help!  
Matt.
