How to receive data from sms and use it as input on a website?

The main aim of it is to receive data from sms and use it as input on a website, that is using arduino gsm shield the message is being send via http using the below function the url is declared as a global variable in before hand .

Problem definition: Arduino gsm shield sends the data using HTTP which the webpage should accept and get the directions on google maps.

void send_HTTP(){

uint8_t answer=0;
// Initializes HTTP service
answer = sendATcommand("AT+HTTPINIT", "OK", 10000);
if (answer == 1)
{
    // Sets CID parameter
    answer = sendATcommand("AT+HTTPPARA=\"CID\",1", "OK", 5000);
    if (answer == 1)
    {
        // Sets url 
        sprintf(aux_str, "AT+HTTPPARA=\"URL\",\"http:/" "/%s/http://localhost/f.php?", url);
        Serial.print(aux_str);
        sprintf(frame, "visor=false&latitude=%s&longitude=%s&altitude=%s&time=%s&satellites=%s&speedOTG=%s&course=%s",
        latitude, longitude, altitude, date, satellites, speedOTG, course);
        Serial.print(frame);
        answer = sendATcommand("\"", "OK", 5000);
        if (answer == 1)
        {
            // Starts GET action
            answer = sendATcommand("AT+HTTPACTION=0", "+HTTPACTION:0,200", 30000);
            if (answer == 1)
            {

                Serial.println(F("Done!"));
            }
            else
            {
                Serial.println(F("Error getting url"));
            }

        }
        else
        {
            Serial.println(F("Error setting the url"));
        }
    }
    else
    {
        Serial.println(F("Error setting the CID"));
    }    
}
else
{
    Serial.println(F("Error initializating"));
}

sendATcommand("AT+HTTPTERM", "OK", 5000);
}

And by doing this I wrote a PHP code using WAMP server in my localhost that accepts the data as input and get the direction from a specified location .the data being send are the coordinates which would act as a input data for the webpage all I wanted to know is that both the scripts work separately but whether will they work hand in hand and is my notion is correct or would they need any changes to make .

HTML coding:

<form action="http://maps.google.com/maps" method="get" target="_blank">
   <label for="saddr">Enter your location</label>
   <input type="text" name="saddr" />
   <input type="hidden" name="daddr" value="Ampa Skywalk
Plot No. 1, Nelson Manickam Road
Survey No. 627, Poonamalee High Road, Aminjikarai
Chennai, Tamil Nadu 600029
India" />
   <input type="submit" value="Get directions" />
</form>