I tried with sending a GET request using ESP8266 wifi module using Arduino.The module successfully responded with :
SEND OK +IPD
On server, I want to receive the data and write it in a text file. So i tried the following codes
>parse_str( html_entity_decode( $_SERVER['QUERY_STRING']) , $out); $data= $out['data'];
$fileStatus=file_put_contents('myFile.txt',$data,FILE_APPEND);
if($fileStatus!=false){
echo "SUCCESS";
} else{ echo "FAIL"; }
But the data failed to store.