Jump to content
rony2006

Press web page button -> start Autoit function on server

Recommended Posts

rony2006

Hello,

 

Is there any AutoIT script + a php script that allows a user to click a button in a web page and then will start a autoit function on a server?

Share this post


Link to post
Share on other sites
Danyfirex

Hello Mr. I think your question is more related to a web client/server developement.

anyway You need to do something like this.

<?php
    if (isset($_POST['button']))
    {
         exec('your script path here');
    }
?>
<html>
<body>
    <form method="post">
    <p>
        <button name="button">Run Perl</button>
    </p>
    </form>
</body>

 

Take a look to the exec 's documentation. 

 

Saludos

Share this post


Link to post
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

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.