Go Back   Gaming Gutter


» Site Navigation
» Home
» FAQ
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Advertisement
» Recent Threads
Go to first new post Contest.
Today 01:53 PM
by Shane
Last post by Ruzzeh
Today 04:35 PM
6 Replies, 25 Views
Go to first new post Need help, will +rep
Today 01:01 PM
Last post by geff_chang
Today 04:35 PM
10 Replies, 44 Views
Go to first new post Do you have the Adam's...
Yesterday 05:50 PM
by oneone
Last post by Hallandale
Today 04:32 PM
22 Replies, 154 Views
Go to first new post {S} 4 Aged Shells for...
Today 04:31 PM
Last post by neoneo16
Today 04:31 PM
0 Replies, 1 Views
Go to first new post Favorite Disney movie?
10-31-2008 12:23 AM
Last post by Hallandale
Today 04:24 PM
93 Replies, 707 Views
View Single Post

 GG Authorization
Old 04-19-2007, 09:39 AM   #1 (permalink)
Bump J
Banned

Bump J is offline
 
Join Date: Feb 2007
Posts: 100
GPoints: 50
iTrader: 0 / 0%
Bump J Is gaining popularity
Rep Power: 0
GG Authorization

My Version Of GG Auth

Go to Project>Refrences and check Microsoft XML, v3.0

Code:
Dim Wrapper As ServerXMLHTTP30
Dim strHTML As String

Private Sub Form_Load()
Set Wrapper = New ServerXMLHTTP30
End Sub

Private Sub cmdDoAuth_Click()
    Me.Caption = "Step 1..."
    Wrapper.open "POST", "http://www.gaminggutter.com/login.php?do=login"
    Wrapper.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
    Wrapper.send "vb_login_username=" & txtUser.Text & "&vb_login_password=" & txtPass.Text & "&s=&do=login&vb_login_md5password=&vb_login_md5password_utf="
    strHTML = ""
    strHTML = Wrapper.responseText
    
    If InStr(1, strHTML, "Thank you for logging in") = 0 Then
        MsgBox "Failed To Login"
        
    ElseIf InStr(1, strHTML, "Thank you for logging in") <> 0 Then
    
        Me.Caption = "Step 2..."
        Wrapper.open "GET", "http://www.gaminggutter.com/neopets-f54.html"
        Wrapper.send
        strHTML = ""
        strHTML = Wrapper.responseText
        
        If InStr(1, strHTML, "permission to access this page") <> 0 Then
            MsgBox "Your Not Authorized"
        ElseIf InStr(1, strHTML, "permission to access this page") = 0 Then
            MsgBox "Authorized"
        End If
    End If
End Sub
  Reply With Quote
 
Powered by vBadvanced CMPS v3.1.0

All times are GMT -7. The time now is 04:38 PM.


vBulletin skin developed by: eXtremepixels
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The contents of this webpage are copyright © 2006-2008 GamingGutter.com. All Rights Reserved.

Page generated in 0.16276789 seconds (100.00% PHP - 0% MySQL) with 17 queries