Jump to content

Recommended Posts

Posted

I have a script that i wish to run on my web server, problem is, when i click on the link to it, it opens the gui on the server, not on pc that is wiseting the page.

If it's posibole to make the client pc open the script, I indted to use the GUI to editi an file on the server.

The script i have now

#include <GUIConstants.au3>

$gui = GUICreate("MoF Plannering",640, 480)
GUICtrlCreateEdit("test",10,10,100,100)
;$in = GUICtrlCreateInput("",10,10,100,20)
GUISetState(@SW_SHOW)

While 1
    $msg = GUIGetMsg()
    Select
        Case $msg = $GUI_EVENT_CLOSE
            Exit
    EndSelect
WEnd
Posted

I have a script that i wish to run on my web server, problem is, when i click on the link to it, it opens the gui on the server, not on pc that is wiseting the page.

If it's posibole to make the client pc open the script, I indted to use the GUI to editi an file on the server.

The script i have now

#include <GUIConstants.au3>

$gui = GUICreate("MoF Plannering",640, 480)
GUICtrlCreateEdit("test",10,10,100,100)
;$in = GUICtrlCreateInput("",10,10,100,20)
GUISetState(@SW_SHOW)

While 1
    $msg = GUIGetMsg()
    Select
        Case $msg = $GUI_EVENT_CLOSE
            Exit
    EndSelect
WEnd
you're going to have to write in some code to handle connecting to the server w/ login credentials etc to have a client side that affects the server. it's probably going to be more work than it's worth though, not to mention the security hole you'd be creating. i would suggest going with server side scripting like .php, .asp etc, and create a form to modify your file that way.

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
  • Recently Browsing   0 members

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