Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21356

Help for Inet login problem

$
0
0
Hi
I need a help for inet control which try to log a site below.I also add login html portion of that site into bottom of this post

https://login.mig33.com/wap/

i can log with webbrowser control,but wanna to log via Inet control.

please visit the site and help me.

here i post my try,it worked before but recently changed

Code:

Private Sub Login()
Inet1.Protocol = icHTTP
strPostData = "mig33-username=" & Text1.Text & "&mig33-password=" & Text2.Text & "&submit=submit-value" 'sending username and password
strURL = "https://login.mig33.com/wap"
strHeader = "Content-Type: application/x-www-form-urlencoded"
Inet1(0).Execute strURL, "POST", strPostData, strHeader '& Text1.Text
Do While Inet1(0).StillExecuting
  DoEvents
Loop
End Sub

My question is
1.How can log?
2.How can know login process of a site?any tool have which can help for this purpose?

i hope expert from vbforums can help me to solve this:thumb:
thanks in advance.

Code:

<form action="https://login.mig33.com/wap/login/" method="post" accept-charset="utf-8">
<div class=signin-box><ul class=login-fields>
                                <li>
                                        <label for=username-field>Username:</label>
                                        <input type=text name=mig33-username id=username-field placeholder=Username class="" value="id name"> </li>
                                <li>
                                        <label for=password-field>Password:</label>
                                        <input type=password name=mig33-password id=password-field placeholder=Password class="">
                                        <button class="btn submit-btn">Sign In</button>      </li>
                        </ul>
                        <ul class=other-fields>
                                <li><label for=rememberme><input type=checkbox name=rememberme id=rememberme checked> Remember me</label></li>
                                <li><label for=invisible><input type=checkbox name=invisible id=invisible> Login as invisible</label></li>
                                <li><label><a href="http://www.mig33.com/sites/wap/forgot_password/details">Forgot password?</a></label></li>
                        </ul>
                </div>


Viewing all articles
Browse latest Browse all 21356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>