title: Best way to implement a Rest API with PHP on WAMP web server
body: <p>I own a web server running Windows (<a href="http://www.wampserver.com/en/" rel="nofollow noreferrer">WAMP</a>). I want to know the best way to implement a Rest API (a very simple one) in order to let a user do something.</p>
  
  <p>Diagram flow:</p>
  
  <p><a href="http://img215.imageshack.us/img215/6105/flowe.png" rel="nofollow noreferrer">alt text http://img215.imageshack.us/img215/6105/flowe.png</a></p>
  
  <p>I have programming skills, in fact, I developed a web server in VB6 who process the queries and when it finds the command (http:/<strong>serverIP</strong>/webform.php?cmd=run&amp;item=any) it does something, but I really want to develop a solution using the WAMP server.</p>
  
  <p>Some people consider the solution of executing a exe when a command is detected a bad solution for security issues, but this specific project I have is for the use by some people (trusted people) who dont have intentions of hacking the server.</p>
  
  <p>So, what do you think?</p>
  
  <p><strong>Remember:</strong></p>
  
  <blockquote>
    <ol>
    <li>Its not a public API, its for some people and some programs who will use
    the API</li>
    <li>Its a very simple one, only one command using POST or GET.</li>
    </ol>
  </blockquote>
  
  <hr>
  
  <p><strong>Thanks</strong></p>