Simple php example for Ethernet shield?

Does anyone know of any simple examples for using the Ethernet shield with php? I am really struggling to use the examples I have found so far online.

I would really appreciate help. I want to make my Arduino able to send a variable to a php page based on sensor input.

For example, if someone presses a button, it triggers www.mypage.com/arduino?button=1

Thanks for any help! My php is much more solid than my Arduino. :-/

Try this; it works for me for a different type of app:

void Button1Pressed()
{
 if(Client.connect())
    {
       Client.print("GET /arduino?Button=1 HTTP/1.0\r\n\r\n");
       // the connection needs to stay open to let the TCP packet arrive and be ACK'd
       delay(1);
    }
   // you can read stuff back here if you need.
    m_WebClient.stop();
}