Jump to content

PHP & Autoit


zxtnt09
 Share

Recommended Posts

Hi,

i was create a sql database ( it was have username / password ) 

now how can i connect this sql database to my autoit program ?!

notes : member can not create his own account ( i should create username/password ).

if someone help me step-by-step I'am grateful to him :>

thanks.

Link to comment
Share on other sites

Dear,

i was fix that ( connect to website) and all of that is fine working but,

how can i use something like that : 

my Login GUI : 

; GUI For Login

#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <ProgressConstants.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>

$LOGIN = GUICreate("Login", 371, 100, 400, 400)
GUISetIcon("C:\Users\Sarah\Desktop\Setup\t44.exe", -1)
GUISetBkColor(0xFFFFFF)
$usernametxt = GUICtrlCreateLabel("Username:", 8, 16, 55, 17)
GUICtrlCreateInput("", 88, 16, 161, 21)
GUICtrlCreateInput("", 88, 48, 161, 21, BitOR($GUI_SS_DEFAULT_INPUT,$ES_PASSWORD))
$buy = GUICtrlCreateButton("Buy", 280, 14, 81, 25)
$ok = GUICtrlCreateButton("Log iN", 280, 47, 81, 25)
GUICtrlSetBkColor(-1, 0xA6CAF0)
$passwordtxt = GUICtrlCreateLabel("Password:", 5, 48, 53, 17)
GUISetState(@SW_SHOW)


While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $buy
            buy()
        Case $GUI_EVENT_CLOSE

            Exit
    EndSwitch
WEnd

; Buy account
Func buy()
If $buy = True Then
ShellExecute ("http://google.com")
EndIf
EndFunc



; My script ( it should show after login was success )

thanks ♥

Edited by zxtnt09
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...