Hello!
first let me say that I am new with PHP and scripts.
I have uploaded the password_protect.php on my site. The first time that I opened the page it showed ok, but when i typed the login and password, the protected page did not show.
Then I tried to log again, but the password_protect.php was blank. I have no errors reported.
It is strange because when i tried to open the password_protect.php page the next day, it was showing good, but again on the second attempt is blank page.
The link to my demo site is http://tri.site90.net/ (it is a free web host), click on the word "korisnik" - this is the link to the password_protect.php page.
I checked the hosting server, it supports PHP.
I tried to put it on another host but the problem is the same. And other php scripts work fine.
Thanks in advance, best regards Gabi