Hi guys. Using PHP, I currently capture form data to a database and then email the contents. This is no issue, when the form is submitted, it calls the script that does the field validation/sanitization and posts to a SQL DB, then processes the mail using PHPMailer library.
What I now also want to do is send the form data to a 3rd party application, hosted elsewhere, but I have never done this before.
I have no real experience of using cURL, but my research (Google) would suggest that this might be the best way to go?
I believe that if it was data only, I could use cURL to post an encoded JSON object, but as the form data will most likely have an image file attachment, I would need to send as POST data?
Appreciate your input/guidance in advance.
/Danny