Results 1 to 4 of 4

Thread: Connet to site

  1. #1

    Thread Starter
    Member Cha0sBG's Avatar
    Join Date
    Jun 2008
    Location
    C:\Windows\System32
    Posts
    43

    Question Connet to site

    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.

  2. #2
    Hyperactive Member
    Join Date
    Feb 2008
    Posts
    327

    Re: Connet to site

    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
    Code:
    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
    Code:
    form2.show
    to open your other form .. or else sth like this
    Code:
    if sid = "" then
    msgbox "Login unsuccessful"
    ..
    i am just expalining what i did...may be other guyz can provide u a better way

  3. #3

    Thread Starter
    Member Cha0sBG's Avatar
    Join Date
    Jun 2008
    Location
    C:\Windows\System32
    Posts
    43

    Re: Connet to site

    well i have no expiriance in network programming so i look at your code and think "is that even human language?" :P

  4. #4
    Addicted Member _RaJ_'s Avatar
    Join Date
    Apr 2008
    Location
    India!
    Posts
    198

    Re: Connet to site

    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!!

    ●════════════════════════════◄►═════════════════════════●
    ___itš bεttεг tΘ bε απ Θρεπ šiππεг, thαπ α ƒαlšε šαiπt___
    ●════════════════════════════◄►═════════════════════════●
    гαj

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width