title: How to Curl from Mashape in PHP
body: <p>I have got the following curl code to check whether a number is DND activated or not. But i don't know how to use this. How can i implement this in php to get json output.</p>
  
  <p>CURL code:</p>
  
  <pre><code>curl --get --include "https://dndcheck.p.mashape.com/index.php?mobilenos=9999999999%2C8888888888" \
    -H "X-Mashape-Key: g5Svg3wHuomshHIyjncC0hetIUVXp1h7E0LjsnJmorZlVxUcQV"
  </code></pre>
  
  <p>Link to api and documentation:
  <a href="https://www.mashape.com/blaazetech/dnd-check" rel="nofollow">https://www.mashape.com/blaazetech/dnd-check</a></p>