Title: Does WordPress disable $_FILE?
Last modified: August 19, 2016

---

# Does WordPress disable $_FILE?

 *  [perad](https://wordpress.org/support/users/perad/)
 * (@perad)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/does-wordpress-disable-_file/)
 * I am trying to upload a file via my form but I can’t…
 * I try to print_r($_FILE); and nothing happens. Is there something wordpress disabling
   this? If so how I can allow user uploads?
 * Thanks

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

 *  Thread Starter [perad](https://wordpress.org/support/users/perad/)
 * (@perad)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/does-wordpress-disable-_file/#post-1166018)
 * Does anyone have an answer for this?
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/does-wordpress-disable-_file/#post-1166020)
 * a more likely scenario is that your host has disbaled php uploads or whatever
   script youre using isnt playing nice.
 * Move your script outside of your wordpress install, and see if it works there.
 * Create a phpinfo file and check to see if uploads via php are enabled.
 *  [nina_bee](https://wordpress.org/support/users/nina_bee/)
 * (@nina_bee)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/does-wordpress-disable-_file/#post-1166226)
 * Does your form tag has the attribute :
    `enctype="multipart/form-data"` ?

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

The topic ‘Does WordPress disable $_FILE?’ is closed to new replies.

 * 3 replies
 * 3 participants
 * Last reply from: [nina_bee](https://wordpress.org/support/users/nina_bee/)
 * Last activity: [16 years, 6 months ago](https://wordpress.org/support/topic/does-wordpress-disable-_file/#post-1166226)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
