Title: File upload problem
Last modified: August 18, 2016

---

# File upload problem

 *  [sirlinux](https://wordpress.org/support/users/sirlinux/)
 * (@sirlinux)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/file-upload-problem/)
 * Hi,
    I have a problem with the file upload tool of WordPress 1.5. First: the 
   permissions are set correctly.
 * When I press “upload file” WordPress reports “File of type is not allowed.” It
   seems that the PHP variable `$_FILES['img1']['name']` can’t be read. Since I’m
   not very familiar with PHP I don’t know where to start.
 * Thanks for your help!

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Jennifer Ledbetter Clay](https://wordpress.org/support/users/geeksmakemehot/)
 * (@geeksmakemehot)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/file-upload-problem/#post-200274)
 * _You can upload files with the extension jpg, jpeg, gif, png as long as they 
   are no larger than 200 KB._
 * Are you using an extension other than those listed?
 *  Thread Starter [sirlinux](https://wordpress.org/support/users/sirlinux/)
 * (@sirlinux)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/file-upload-problem/#post-200322)
 * No, extension is jpg and jpg is configured. I changed the upload.php and added
   an echo for the `$_FILES` variable, but it is empty. May this be a configuration
   error of PHP?
 *  [dliem](https://wordpress.org/support/users/dliem/)
 * (@dliem)
 * [21 years ago](https://wordpress.org/support/topic/file-upload-problem/#post-201084)
 * I’m seeing the same problem has anyone found the resolution to sirlinux’s issue?
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [21 years ago](https://wordpress.org/support/topic/file-upload-problem/#post-201085)
 * Even though you can set the upload filesize limit in WordPress, there is also
   a similar upload filesize limit in PHP itself. PHP’s upload filesize limit may
   be set too low or may not be set at all. Unfortunately, I don’t know how to set
   it.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘File upload problem’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 4 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [21 years ago](https://wordpress.org/support/topic/file-upload-problem/#post-201085)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
