Prozessstarter

  • Du kannst von php aus ein Skript starten, z.B. so:

    PHP
    <?php
    // outputs the username that owns the running php/httpd process
    // (on a system with the "whoami" executable in the path)
    $output=null;
    $retval=null;
    exec('whoami', $output, $retval);
    echo "Returned with status $retval and output:\n";
    print_r($output);
    ?>

    Die .php Datei musst du irgendwo hinlegen wo man sie als URL starten kann.


    Alternativ könnte man auch einen Prozesstarter erstellen der das Skript startet, das kommt im Prinzip auf das Gleiche raus.

  • Alex

    Hat das Label Erledigt hinzugefügt.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!