20 lines
510 B
PHP
20 lines
510 B
PHP
<?php
|
|
|
|
echo "<html><body>";
|
|
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'<div class="messagebox">';
|
|
echo $output;
|
|
echo '</div>';
|
|
echo"</form>";
|
|
|
|
echo "</body></html>";
|
|
$output = shell_exec("python hello.py");
|
|
|
|
|
|
?>
|