PHP Code:
webBrowser1.Document.GetElementById("u").SetAttribute("value", txtuser.Text);
webBrowser1.Document.GetElementById("p").SetAttribute("value", txtpass.Text);
HtmlElementCollection c1 = webBrowser1.Document.GetElementsByTagName("a");
foreach (HtmlElement e2 in c1) {
if (e2.GetAttribute("classname").Contains("btn01"))
{
e2.InvokeMember("click");
}
}