title: passing value from python to php
body: <p>I'm having a problem with a project. I need to do a detection system which uses python to communicate with electronic devices. I'm creating a detection system. The problem is that I want to detect and then send to a php file which serves as my user interface.</p>
  
  <p>Python:</p>
  
  <blockquote>
    <p>if led is on, send on to php,</p>
    
    <p>if led is off, send off to php,</p>
  </blockquote>
  
  <p>PHP:</p>
  
  <blockquote>
    <p>display [value receive from python]</p>
  </blockquote>