PHP Website communication with other Website
Posted: Fri Jul 21, 2006 9:43 am
Hi Everybody,
Does anyone know that how to communicate with otherwebsite. My website which is using PHP and MySQL, needs to communicate with other website.
The Other wibsite will need to send certain parameters, e.g. (username, password, code), my website will check for the information in the local database and send value back YES/NO (if code found again that username, password then yes otherwise no).
My question is how my website can efficiently handle this. Do I need to write some API if yes, any example, any hint.
I know other website will submit request to some URL on my website along with the parameters. My website will receive request and find the results from the database, Now how I need to send answer (YES/NO) back to otherwebsite efficiently?
Thanks
Does anyone know that how to communicate with otherwebsite. My website which is using PHP and MySQL, needs to communicate with other website.
The Other wibsite will need to send certain parameters, e.g. (username, password, code), my website will check for the information in the local database and send value back YES/NO (if code found again that username, password then yes otherwise no).
My question is how my website can efficiently handle this. Do I need to write some API if yes, any example, any hint.
I know other website will submit request to some URL on my website along with the parameters. My website will receive request and find the results from the database, Now how I need to send answer (YES/NO) back to otherwebsite efficiently?
Thanks