execute binnen messagebox

This commit is contained in:
2026-04-08 20:37:37 +02:00
parent 02f54ffb1a
commit e77b05f62b
+8 -5
View File
@@ -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");
?>
?>