Home › Forums › Quform WordPress › File Upload Element Attributes – No URL? Filesize?
- This topic has 4 replies, 2 voices, and was last updated 6 years, 8 months ago by
katw.
- AuthorPosts
- August 9, 2018 at 12:58 pm #26592
katw
ParticipantHi a few questions regarding File Upload elements:
Question 1: No URL
Looking at your getValueHTML() function for File Upload elements I have a question.
Under what circumstance? would a file upload element have no URL?
Question 2: File size
File size attribute is that in bytes? So dividing value by 1024 will give k?
Question 3: File type
Is that MIME type? And how is that determined at time of upload? By extension?
Question 4: Security
If a file type is not in in the included list. Can a user rename file and bypass the check?
Is there a way to protect the files once uploaded? Ie must be logged in to access? Any suggestions?
Thanks again
August 9, 2018 at 9:09 pm #26602Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
August 10, 2018 at 12:07 am #26607katw
ParticipantThanks.
1. Not sure what benefit file upload is without file being uploaded?? My head hurts on this one
2,3. Awesome, the link helps heaps
4. Ok, thought so
5. Was aware of this but didn’t know how it would affect the plugin when saving files. Is it excused from security check?
August 14, 2018 at 5:58 pm #26664Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
August 14, 2018 at 10:57 pm #26668katw
ParticipantThank you very much for that explanation. Close ticket
- AuthorPosts
- You must be logged in to reply to this topic.