Add that line of code to each php page you would like to protect at the very beginning of the page source (it must be the first line).įor example you want to protect page protect-me.php.Sample protection code would look like this (yours will be different): It will show you protection code to include into your pages.
Sample editors: Notepad (Windows) or vi (Unix). Use any plain text editor to accomplish this step.
Multiple user accounts support, improved security, automatic logout, and manual logout feature. Script will present user with password entry form, and will not let visitor see your private content without providing a password.
Password protect your content with Web Page Password Protect by just adding one line of PHP code to your page source.