can any one provide the link for sample program of sending message to PC with wifi using 8051?
Well, there's your basic problem!
If you are not prepared to spend time on your own project - how can you expect other people to do your work for you?!
You won't get very far with your project if you're not prepared to put the work in!