Sample code to communicate between Delphi app and PHP script
$30-250 USD
In Progress
Posted about 11 years ago
$30-250 USD
Paid on delivery
Your job is to create a sample Delphi and PHP code to demonstrate how to communicate between a program running in Windows developed with Delphi 2010 (or compatible) and a PHP script. The Delphi code must not use any third party libraries for the communication. The PHP code must be compatible with PHP 5.3.x.
The Delphi program consists of a simple form with a text input box and a button. When the button is clicked, the text contents of the text input box is sent to the PHP script called receive.php. When a PHP script called [login to view URL] is executed using a web browser, it displays in the browser window the text sent to the server by the Delphi program via the receive.php.
The sending of data to [login to view URL] must be done in a way the Delphi app knows whether the sending of data failed or not (i.e. [login to view URL] must return a value to tell the Delphi code whether the data was received correctly). The sending of data to [login to view URL] must be done in an encrypted manner, so anyone listening to the communication between the Delphi app and the PHP script cannot determine the contents of the communication, without knowing the used encryption key.
Both the Delphi code and the PHP code must be implemented as a class. You must have access to your own web server in order to test this, you will not be given access to any web server by me.