Skip to content

Shell command when button is on. #1

@sarethan

Description

@sarethan

How would I go about having a shell command executed if the button is turn on?
I know of the shell_exec command for php but am unfarmilar with the implamentation of it or another command in jquery

<?php
$output = shell_exec('ls -lart');
echo "<pre>$output</pre>";
?>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions