How can I run php file using php’s built in web server But the php file is a form that will call another php file.
this is the php file that I am running using built in server
<!DOCTYPE html>
<html>
<body>
<p>this is to compute the Levenshtein distance</p>
<form action="phpForm.php" target="_blank" method="POST">
please enter the first string :<br>
<input type="text" name="string1">
<br>
please enter the secondstring:<br>
<input type="text" name="string2" >
<br><br>
<input type="submit" value="Submit">
</form>
</body>
</html>
when I submit, supposed to open phpForm.php thos is what I wrote in the command line
PHP -S localhost:8000 -t Sites/openSouq form.php