Link to home
Start Free TrialLog in
Avatar of helyonprime96
helyonprime96

asked on

Delphi communication application

Hello experts!
Please help me.

I have a website (hosting soft : ruby,php,perl).
I need to create a application that communicates with site. Sure, site may have a script or file.

Program must send requests to server.
For example : When the remote PC is up, and application running, it will send a request and server will understand that the host is up.
Can someone suggest me what kind of script or CMS or ruby app i need to install on site?
Please help.
Avatar of babblo
babblo
Flag of Argentina image

Hello helyonprime96, you can send the information simply making a POST over a php file located at the server, or you can send a JSON, etc.

On client side (Delphi APP), try using Indy HTTP client to send the POST.

On server side (PHP) simply "catch" the information inside $_POST variable.

Tell me if you need something else.




Avatar of jimyX
jimyX

I have come through a similar requirement. You may have a look at this PAQ by Mahdi78 which shows a communication between Delphi and php:
https://www.experts-exchange.com/questions/25734113/Question-and-help-with-communicating-with-delphi-and-php.html
Avatar of helyonprime96

ASKER

babblo:
hello and thanks for you suggestion.

i think so. can you help me to make a php file that listen posts from application.
application will post something like this : www.site.com/engine.php?status=up&host=.....

and i want that another file imports the stats from engine.php (for example)
help me,please
Please tell me where you want to save the received information. (DB? File?...)
yes.
i have mysql db.
sorry for delay.
please help me with this php file.thanks
ASKER CERTIFIED SOLUTION
Avatar of babblo
babblo
Flag of Argentina image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ok. thanks
but i want to see results in a separated php file.
and tell me what is the link to post.
thanks
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Btw, if you need want more professional or with a better look, please tell me and I can send you a quote for the complete job.

Have a nice day!
thanks