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.
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.
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
https://www.experts-exchange.com/questions/25734113/Question-and-help-with-communicating-with-delphi-and-php.html
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
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?...)
ASKER
yes.
i have mysql db.
sorry for delay.
please help me with this php file.thanks
i have mysql db.
sorry for delay.
please help me with this php file.thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ok. thanks
but i want to see results in a separated php file.
and tell me what is the link to post.
thanks
but i want to see results in a separated php file.
and tell me what is the link to post.
thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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!
Have a nice day!
ASKER
thanks
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.