Send Post Data and Image Uploads

  • Profile Image
    grampers
    Asked on October 28, 2013 at 02:52 PM

    I'm using Send Post Data to send form with image uploads to a custom php page. I know the images are being submited becasue they show up in a Dropbox directory. But on my custom php page I can't seem to get any image info which I would like to write the images to my server. /$_FILES['fieldnameofimage'] isn't there. 

    How can I capture and write the  images to my local server?

  • Profile Image
    Mike_T
    Answered on October 28, 2013 at 05:43 PM

    Thank you for contacting us

    I think that we send the file name only, so that the file download URL can be manually constructed based on your username + formID + submissionID + file name.

    Example:

    www.jotform.com/uploads/Mike_T/33005661773957/248804947942326732/5.png

    Also, we send the file upload URLs with our Webhooks, so this might be easier way.

    Please feel free to contact us if you need any further assistance.

  • Profile Image
    grampers
    Answered on October 30, 2013 at 02:14 PM

    Thank you - very helpful. With the image url you have noted, I can copy the 'downloaded image' to my local file system and display it on my website from there.

  • Profile Image
    jedcadorna
    Answered on October 30, 2013 at 02:32 PM

    @grampers,

    Yes you can do that, so that would be manually loading the image to your server so when you view the submitted form the images will be displayed.