execute binnen messagebox
This commit is contained in:
@@ -1,20 +1,23 @@
|
||||
<?php
|
||||
<?php
|
||||
|
||||
echo "<html><body>";
|
||||
echo "<form action="xor23.php" method="get">";
|
||||
echo '<form action="xor23.php" method="get">';
|
||||
echo 'component #1: <input type="text" name="comp1" size="64" maxlenght="64"><br>';
|
||||
echo 'component #2: <input type="text" name="comp2" size="64" maxlenght="64"><br>';
|
||||
echo 'component #3: <input type="text" name="comp3" size="64" maxlenght="64"><br>';
|
||||
echo '<input type="submit">';
|
||||
echo '<input type="submit">';
|
||||
|
||||
|
||||
echo'<div class="messagebox">';
|
||||
if ($_GET) {
|
||||
echo $output;
|
||||
}
|
||||
echo '</div>';
|
||||
echo"</form>";
|
||||
|
||||
echo "</body></html>";
|
||||
$output = shell_exec("python hello.py");
|
||||
$output = "Danny is een hele lieve man";
|
||||
//$output = shell_exec("python hello.py");
|
||||
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user