I usually use a webbrowser then do the element id to input the username and password. The more efficient way of doing it is HttpWebRequest. Anyone know how I can log into this site using the HttpWebRequest method? The site has no Element ID's for the textboxes like I am used to. I want to retrieve my grades without going to and logging in the site every time. I will just store my username and password in the registry or a text file or something, but here is the site. All I need to know is how to log in, xbox.com is way easier :/
https://adphila.grad...ront/slogin.php
Also, here is the http version:
http://adphila.grade...n.php?secure=no
iBotModz CBox
Logging into a site
Started by yungbol, Oct 19 2009 07:59 PM
1 reply to this topic
#1
Posted 19 October 2009 - 07:59 PM
#2
Posted 20 October 2009 - 09:19 AM
HttpWebRequest uses credentials, and is only good if it has a .htaccess login. I know you can use WebRequest, using the POST method to post data the website and get a response, but that's it. The webbrowser would be the easiest way.
PS: Just by looking at the source, I can already tell it won't pass a validation check lol...
Edit: They use a direct script to POST the data to. Ask peaches, or get someone to host a script that takes post data and post it to that page.
PS: Just by looking at the source, I can already tell it won't pass a validation check lol...
Edit: They use a direct script to POST the data to. Ask peaches, or get someone to host a script that takes post data and post it to that page.
Edited by Dark Slipstream, 20 October 2009 - 09:20 AM.