Jump to content

Set trigger to send a CURL request?


Axeia

Recommended Posts

Okay, I know the normal query stuff quite well.. but this is a bit above my current level of knowledge.

 

Is it possible to create a trigger on a table that watches for deletes/inserts/updates on a table and when one occurs send a curl request?

This would be used to create a 'one account' system for 2 sites on separate servers.

 

Preferably this would be done on a mysql database, but one of the 2 sites does use postgresql.. it just doesn't have PHP installed which would make things rather complicated.

Link to comment
https://forums.phpfreaks.com/topic/165732-set-trigger-to-send-a-curl-request/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.