Forums

Does WordPress disable $_FILE? (4 posts)

  1. Perad
    Member
    Posted 2 years ago #

    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

  2. Perad
    Member
    Posted 2 years ago #

    Does anyone have an answer for this?

  3. whooami
    Member
    Posted 2 years ago #

    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.

  4. nina_bee
    Member
    Posted 2 years ago #

    Does your form tag has the attribute :
    enctype="multipart/form-data" ?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.