I'm writing an elixir application that needs to communicate with several APIs.
One api is a connection to Post Affiliate Pro which uses PHP and has a PHP class file you can download to use their API easily.
As I seach for answer online my results are overwhelmed about using PHP to run elixir which is the opposite of wha. I need
I know nothing about PHP, I don't even know what dependencies I'll need on the server to run a php script.
My elixir program currently runs an executable using System.cmd().
Would it be possible to use System.cmd() to run the script file and have the output of the PHP script be routed to elixir's STDIN? I've never done that before but maybe I should start there? Any suggestions?