execute binnen messagebox
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
echo "<html><body>";
|
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 #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 #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 'component #3: <input type="text" name="comp3" size="64" maxlenght="64"><br>';
|
||||||
@@ -9,12 +9,15 @@ echo '<input type="submit">';
|
|||||||
|
|
||||||
|
|
||||||
echo'<div class="messagebox">';
|
echo'<div class="messagebox">';
|
||||||
|
if ($_GET) {
|
||||||
echo $output;
|
echo $output;
|
||||||
|
}
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
echo"</form>";
|
echo"</form>";
|
||||||
|
|
||||||
echo "</body></html>";
|
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