title: Controlling Arduino Output Via RPi Hosted Website
body: <p>I currently have a basic website hosted by my Raspberry Pi.  What I am trying to do is control digital outputs via HTML form buttons.  Currently it works while I am on the LAN as the button form action is set to the local IP of the Arduino.  I am struggling to figure out how to control these outputs from another network or from my phone.  </p>
  
  <p>Am I on the right track to think I need to pass the on/off commands to something like a php script hosted on the RPi and have the php script generate the Post request? </p>
  
  <p>Does anyone have an example to get me pointed in the right direction?</p>
  
  <p>Thanks in advance</p>