POST form data to page

  • Profile Image
    Asked on February 22, 2021 at 03:44 PM

    Hi Jotform,

    I have a custom page with POST data, my question is, how can i get the data from the pictures that I uploaded? Could you please help me:

    $splashicon = mysqli_real_escape_string($link, $_REQUEST['splashicon']['0']); $splashicon = $_FILES['splashicon']['tmp_name'][0]; $splashicon = file_get_contents($splashicon); $splashicon = base64_encode($splashicon);

    In the JotFrom POST test page it's showing up the filename, but is it just the filename? Or is the data included in a layer under it?

    Please help :)

  • Profile Image
    Answered on February 22, 2021 at 09:09 PM

    Please check this guide for more details on how to send data via POST:

  • Profile Image
    Answered on February 23, 2021 at 06:36 PM

    Unfortunately, it is not possible to send or update the files uploaded using API. However, you may get the download links from the API using the Form ID submissions request.

    If you are using the file upload field, you may also generate the file uploaded link in the format below: