I have "upload.php" page which consists of upload form and radio button form.
<html lang="en">
<form action="upload.php" method="post" enctype="multipart/form-data">
<label for="my_upload">1) Select a file to upload:</label>
<input id="my_upload" name="my_upload" type="file">
<input type="submit" value="Upload">
</form>
<form action="./execute.php">
<input type="hidden" name="parameter" value=" ? ">
<input type="radio" name="mode" value="one">one<br>
<input type="radio" name="mode" value="two">two<br>
<input type="submit" value="Execute">
</html>
<?php
... php upload code ...
$parameter;
When I select file to upload and press button "Upload", php code on the same page "upload.php" starts running. After it finishes, I would like to take value "$parameter" and use it in html code on the same page, in next form with radio buttons. Is there a way to do this? Also, is there a way to get values/variables from "execute.php" after it is actually executed and use them on page "upload.php"?