(Blatantly borrowed from SO)
Questions must demonstrate a minimal understanding of the problem being solved. Tell us what you've tried to do, why it didn't work, and how it should work. See How can I ask better questions on Server Fault? for further guidance.