My objective is to send the data that is submitted in a html form to both a mysql database (already accomplished) and also to an external URL. The reason for sending to the url as well is to add the data to a automated dialler system for our call center.
The problem I have is I can't get my head around once the information is sent to the database, how to then send to a url, I currently have my PHP page send data to mysql and THEN to an email address.
An example of the url:
http://domain.com/vicidial/non_agent_api.php?source=test&user=****&pass=****&function=add_lead&phone_number=07777777777
Any help much appreciated.