EddieShipman put me on the right track with a problem I had last week by directing me towards using PHP as part of the solution. Now I have hit a snag with the TIdHTTP component usage, which I know very little about. I need some example code (Delphi) to pass a value between a Delphi app and a PHP form, but this value is unknown to the user, so it must find the value of the Delphi variable first and then pass it HIDDEN FROM SCRUTINY. Let's say the value to be passed is a string, and the variable name is 'Prod_Num' in the Delphi code. I click a button 'btnRegister' to submit the value to the PHP script, called 'form.php', located in "http://localhost/
". Let's assume futher that the value will be received into the variable "$user_code" on the PHP side. Using these variable and component names (and TIdHTTP), could someone
give me some example code for the OnClick event of btnRegister? Please use the exact names as described because I am somewhat confused at the moment due to insomnia having extensively studied PHP and other new stuff (new to me, at least) for the last few days.