Home Forums Front-end Issues Front End Uploading Reply To: Front End Uploading

  • Sorry i should’ve pointed out i’ve added it to the allowed file types in my theme functions.

    I’ve narrowed it down (somewhat…) since adding the file type to the allowed list, i’ve noticed that if the file has spaces in it, so “file name” it doesn’t get uploaded. Therefore it has to be “file-name” or “file_name” and it uploads it.

    HOWEVER it’s still not being attached to the post, BUT when i var_dump the array i get this:

    string(22) “does-it-need-no-spaces”

    But the url is blank

    EDIT: Actually, the filename is also being set the same as the post title.

    My Upload Page code
    My Form Export