ESP-01 and GET request

I am trying to send some values from UNO to a remote web server. ESP01 is connected fine and i can send AT commands and connect it to my local network. Problem is, how to send some data to a remote server? I tried but no luck. Here is what i did:

#include <SoftwareSerial.h>
SoftwareSerial mySerial(2,3);
void setup(){
  mySerial.begin(9600);
  Serial.begin(9600);
  reset();
  }
void reset(){
mySerial.println("AT+RST");
 delay(5000);
mySerial.println("AT+CWMODE=1");
mySerial.println("AT+CIFSR");
mySerial.println("AT+CIPMUX=1");
mySerial.println("AT+CIPSERVER=1,80");
delay(5000);
  }

void loop() {
mySerial.println("AT+CIPSTART=4,\"TCP\",\"www.somesite.org\",80");
delay(1000);
mySerial.println("AT+CIPSEND=4,40");
delay(1000);
mySerial.println("GET /test/index.php?lm35=10 HTTP/1.1");
mySerial.println("Host: www.somesite.org");
mySerial.println();
mySerial.println();
delay(1000);
mySerial.println("AT+CIPCLOSE=4");
delay(1000);
}

I just want to send that 10 to a web page where php is waiting to pick it up and store in database.

What format is the php expecting the data?

Just a simple PHP code:

if(isset($_GET['lm35']) && $_GET['lm35'] != ""){
	$lm35=strip_tags(stripslashes(mysqli_real_escape_string($con,$_GET['lm35'])));
	mysqli_query($con,"INSERT INTO.....

use a library WiFiEsp

Any good example would be nice

the library has examples

have a look at
http://playground.arduino.cc/Code/WebClient

and adapt it to use the ESP-01