Actually Now I have made some progress, I have used AJAX request to shoot HTTP get requests and that code is working flawlessly:
An excerpt from the code showing HOW the get data is sent to the script myform.php in a Silent way that is not opening any windows or showing in the link the script file running:
var namevalue=encodeURIComponent(document.getElementById("but2").value)
mygetrequest.open("GET", "myform.php?name="+namevalue, true)
mygetrequest.send(null)
At the other side the myform.php receives the values correctly you can see at
http://winacro.com/scriptGET.phpSo now I want to send the clicks to my SIM900 module running using ATmega328, previously I did the following request code and was successful in loading the values to a database on my server BUT THE MAIN QUESTION HERE IS HOW I CAN DO IT IN THE OTHER WAY AROUND that is now to send values from my site to Arduino:
reading = analogRead(tempPin);
tempC = reading / 9.31;
mySerial.print("AT+HTTPPARA=\"URL\",\"http://winacro.com/script.php?tempC=");
mySerial.print(tempC);
mySerial.println("\"");
delay(1000);
ShowSerialData();
mySerial.println("AT+HTTPACTION=1");//submit the request
I wanted to know I should I make the AT+HTTPPARA loaded as such I get the values from the clicks I make on that page.
EDIT: I further read into the SIM900 datasheet and what I read about is two commands that may work for me as follows:
1) AT+HTTPREAD=<data_len>,<byte size> , to be used when the AT+HTTPACTION=0 or AT+HTTPDATA is executed , so where should I execute it above httpaction and httpdata or below, I mean simply where should I write it?
OR
2) AT+HTTPDATA=<size>,<time>,where in the code?