I have the first php page called index.php and another called act.php both in the same folder in localhost(www folder) when i use in form action this url : localhost/project/act.php work fine :) & this message appear :l'authentification a ete passe avec succes, But When I use relative position act.php doesn't work and I see the whole page code :
<?php
echo "l'authentification a ete passe avec succes";
?>
any help is very appreciate,Thanks.
1- index.php Page :
<form action="act.php">
<input type="text" id="log" placeholder="Login.."><br>
<input type="password" id="Psw" placeholder="Password.."><br>
<input type="submit" value="Connecter">
</form>
2- act.php Page :
<?php
echo "l'authentification a ete passe avec succes";
?>