title: ESP8266 wifi module to read PHP file
body: <p>Seeking advice on getting the arduino and the ESP8266 wifi module to read a PHP file on a web page (not LAN; i am using a domain name and hosting service for the webpage) that echoes '1' or '0'. If it is a '1', i am looking at turning an LED on, and if '0', turning it off. </p>
  
  <p>for example the PHP file looks like this to turn LED on:
  <code>&lt;?php echo 1; ?&gt;</code></p>
  
  <p>i need to be able to read off the php file to turn the LED on. What would be the best possible approach in this scenario?  Is it better to send a HTTP GET request to the IP address of the ESP8266 wifi module or is there a way to program the module to read the echoed data off the php file? Is there another wifi module that would make this easier ?</p>
  
  <p>if i have not made myself clear or you need further information to advise me please let me know. </p>
  
  <p>thanks in advance !</p>