• 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

    (@perad)

    Does anyone have an answer for this?

    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.

    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.