Posted: Thu Dec 23, 2010 3:27 pm Post subject: [C#]Log in to a website
Hello,
I'm trying to log in to a website through my C# windows application so i could read data that can be seen only when logged in.
The website is: speed.travian.nl/login.php
which is a game and I'm trying to get the amount how much wood i have left.
My problem is how to do that and how to check that I've succesfully logged in. I've tried to follow some examples i found from the internet without any luck.
When you write wrong nick or passowrd you had subtitle 'Naam bestaat niet'
You can try search this subtitle, but more i can say when i register in site and check all
When I logged into a website using sockets and Java, I just opened a socket to the website, and posted the form (was trickier in my case as the password is encrypted to MD5 from the form so i had to do that in my program). Once in you can navigate to the right page, download the text of the page, and use string parsing to get the gold. _________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum