Click to See Complete Forum and Search --> : Connet to site
Cha0sBG
Jun 30th, 2008, 01:37 PM
Hello I Was Just Wondering :
I have Created a Form with 2 textboxes 1:ID 2:PW
is there some way to connec to a forum and check if the user is registered and if he is then open a second form if hes not open a msg box and there to say sorry wrong username or password try again can someone make an example if it's posible ? ty.
pannam
Jun 30th, 2008, 02:13 PM
yes there is .... once i had to connect to a website and login..for that i used a packet sniffer and then recorded the data required to login ..then i used that data in my form ...if you can login then you will get sth like HTTP/1.1 200 OK.....................set cookie sid :blah blah you can use this information ..i used "sid" because i get it only if the login is successful. so once you successfully login u can use form2.show to open your other form .. or else sth like this if sid = "" then
msgbox "Login unsuccessful"..
i am just expalining what i did...may be other guyz can provide u a better way :)
Cha0sBG
Jun 30th, 2008, 02:46 PM
well i have no expiriance in network programming so i look at your code and think "is that even human language?" :P
_RaJ_
Jul 28th, 2008, 07:30 AM
yes u can do that.....
1. Get a packet sniffer (WPE) using that get the login packet
2. use winsock / ssl class to connect & send data to server & then check data arrival..... for good / bad response!!
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.