Relay Control using web server major issue

Hi there
I'm trying to connect my arduino mega and control my relays using ENC module.....
the main problem is that,I have no idea what to send through IP
i wanna make a link in HTML ,when it's clicked on a link send a string like "A" to my arduino
i used some libraries ,but i got nothing on ....
any solution or not??

I like this code by zoomkat: Controling 2 LEDs over internet - #4 by zoomkat - Programming Questions - Arduino Forum
Normally the browser requests the webpage from the Arduino.
But now you add a question mark and options to the request.
That example is for the official Arduino Ethernet library.

The ENC28J60 is not official supported by the Arduino. Which library are you using ?

Peter_n:
I like this code by zoomkat: Controling 2 LEDs over internet - #4 by zoomkat - Programming Questions - Arduino Forum
Normally the browser requests the webpage from the Arduino.
But now you add a question mark and options to the request.
That example is for the official Arduino Ethernet library.

The ENC28J60 is not official supported by the Arduino. Which library are you using ?

i used both ethercard and ethershield ,but still i have no idea what to do....
i wanna have control on my relay board over LOCAL ip and GLOBAL ip
i'm gonna try your sketch to see if it's working for me or not
tnx for reply...