File upload to database in base64

Home Forums Quform WordPress File upload to database in base64

This topic is: resolved
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #16300
    jerkski
    Participant

    Hello, I have a specific need to upload files to a mysql blob field in a database. I must match the encoding of our existing stored files which is base64. Is there a way to intercept the upload and encode files in base64?

    #16326
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #16360
    jerkski
    Participant

    Hi Ally, thank you for the tip! I did implement and while it does seems to work fine, it is causing it to insert the record twice. One has the base64 file, and the other has the fullpath in it. How can I get rid of the form insert with the fullpath, or how can I have the function overwrite it?

    Is there something I am doing wrong?

    #16367
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #16377
    jerkski
    Participant

    You got it! Thank you!!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy