There are two files. The first
<!DOCTYPE HTML> <HTML> <HEAD> <meta charset="utf-8"> <style> .bottom_block { background-color: white; <!--border: 1px black solid;--> border-radius: 10px 10px 10px 10px; width: 20vw; height: 20vh; margin-left: 39.5vw; margin-top: 2px; } </style> </HEAD> <div class="bottom_block"> <FORM method="post" action="admin_authentication.php"> <div style="width: 90%; height: 15%; margin-left: 20%; margin-top: 5%"> <input type="text" style="width: 70%; height: 77%" placeholder="Username" name="admin_username" required> </div> <div style="width: 90%; height: 15%; margin-left: 20%; margin-top: 5%"> <input type="password" style="width: 70%; height: 77%;" placeholder="Password" name="admin_password" required> <br><br> <input type="submit" name='admin_send' style="width: 40%; height: 100%" value="Submit"> </div> </FORM> </div> </HTML> And the second admin_authentication.php
<?php echo $_POST['admin_username']; echo "Yes"; ?> when this code works through "idle" (i.e. installed on the computer) apache, it issues both $_POST['admin_username'] and the word Yes . But when I launch it from PhpStorm, it issues only Yes from what it can be ???
bodytag;) - Dmitriy Simushevadmin_usernameandadmin_password? - Samvel