0

While uploading the submit.php page, the file ankr1000.18d.Z that appears in dizin.png image is wanted to be added to file section
and automatically to be pressed "Submit to PPP" button and send the file So what I want is to post the file on the server while the page is loading. It needs to be done using the PHP language. I tried with Curl but I couldn't. I would be glad if you helped.

enter image description here

<form id="pppform" method="POST" enctype="multipart/form-data" action="https://webapp.geod.nrcan.gc.ca/CSRS-PPP/service/submit">
    <input aria-labelledby="rfilelabel" type="file" id="rfile_upload" name="rfile_upload" required aria-required="true" class="form-control">
    <input id="submit_btn" type="submit" class="btn btn-primary" value="Submit to PPP">
</form>
Lelio Faieta
  • 6,457
  • 7
  • 40
  • 74
ARMA TEAM
  • 3
  • 2

1 Answers1

0

It's impossible to load file form users computer and send it to the server without user explicit action. If you are asking about that.

Konrad
  • 21,590
  • 4
  • 28
  • 64