php code

This is the main technical forum for discussing problems that were encountered by users while developing PROMOTIC applications, and their possible solutions.

php code

Postby pavlos77 » Tue 27. May 2025 8:07:36

How i can call a php file from pmatimer?
pavlos77
 
Posts: 6
Joined: Thu 10. Nov 2022 13:13:50

Re: php code

Postby Tomáš Bräuer » Tue 03. Jun 2025 7:20:56

You can downoload URL address representing PHP page. You have to use HttpRequest object. In application PmaObjects you have to ese ActiveX version of HttpRequest. We have a lot of examples and even a preconfigure objects.
See https://www.promotic.eu/cz/pmdoc/Objects/External/HttpRequest/ExamGet.htm

Caution! You will have to ensure not to run many requests simultaneously before previous ones have completed.
Tomáš Bräuer
Administrátor
 
Posts: 173
Joined: Thu 13. Dec 2012 9:13:13


Return to I don't know how to...

Who is online

Users browsing this forum: No registered users and 32 guests

cron