The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Images are not uploading (2 posts)

  1. Adam
    Posted 4 years ago #

    So with the following code could some one tell me why my line 21 - comes back as index undefined? Its a simple upload script for uploading images to a custom directory. I believe everything is set correctly, yet when I select an image then hit submit I get an error on that line - saying that image_upload is undefined index. - essentially meaning that the "field is blank" when its not...or wasn't before I hit submit >_>.

    What am I doing wrong?

  2. Daryl L. L. Houston (dllh)
    Posted 4 years ago #

    I'd guess maybe you need to add the enctype="multipart/form-data" to your form attributes.

Topic Closed

This topic has been closed to new replies.

About this Topic