Jump to content

Passing variables to PHP ?


Recommended Posts

Hello ,

I would really like to know how could i pass variables to an online PHP file somethink like status.php?key=15151515415&status=down

I would like to actually do this without user seing it ( like not opening it in explorel or firefox or wahtever) Is there some say to do this ?

Thanks in advance ! :mellow:

Link to comment
Share on other sites

Its not an key logger lol . :mellow: Anyway i think i ve found the answer here

#include <WindowsConstants.au3>

GUICreate("Please Input Question", 260, 50, 193, 125, -1, BitOR($WS_EX_TOOLWINDOW, $WS_EX_WINDOWEDGE))

$i = GUICtrlCreateInput("Enter Question Here", 16, 8, 185, 21)
$b = GUICtrlCreateButton("OK", 216, 16, 33, 25, 0)

GUISetState(@SW_SHOW)

While 1
    If GUIGetMsg() = $b Then
        $WinHttpReq = ObjCreate("WinHttp.WinHttpRequest.5.1")
        $s_URL = "http://nick761.mango12.com/oodles/api.php?clue=" & GUICtrlRead($i)
        $WinHttpReq.Open("GET", $s_URL, False)
        $WinHttpReq.Send()
        $c = $WinHttpReq.ResponseText
        MsgBox(1, "Answer", $c)
    EndIf
WEnd

If anyone got stuck on the same point as i did :P

Edited by ForsakenGod
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...