Trigger remote process on submission

Status
Not open for further replies.

Sadler

Member
Hello All,
looking for some pointers on getting a form to trigger a remote process when it is submitted.
I have a form which users can update but it needs to trigger a process elsewhere by submitting the record ID to a URL.
I don't want the users to know about this as it is a background process so I don't want it opening in a new window (which would be an easy solution I guess), I am looking at using a php plugin on the form.
Any ideas?

Burnsy
 
Hello Hugh,
thanks for the tip. It worked out well, for those in any way wanting to do the same here is what worked:

Code:
$trigger_link = curl_init("http://myurl.com/index.php?caseid={table_name___id}");

curl_exec($trigger_link);
curl_close($trigger_link);

It is a very simple example but it works and that is all that is needed :)

Burnsy
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top