The HTTP verification of PHP does not pop up.

problem description

returned after visiting the page http://www.phptest.loc/authenticate.php locally:

Please enter your username and password

Why is there no pop-up prompt for me to enter my user name and password? In index.php, I was prompted for input.

the environmental background of the problems and what methods you have tried

the development environment is lnmp1.5

after exchanging the code of two files (index.php and authenticate.php), it is found that authenticate.php will pop up, but index.php will not
suspect that the database is being used.

related codes

index.php

   

Php
Nov.27,2021

one of the more intuitive spelling mistakes is WWWW-Authenticate with an extra W.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-7bfd72-27209.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-7bfd72-27209.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?