Free Simple password php script ( set pass for a path )
good to be with you again , as always i’m here with a simple Tut and also a simple script . for today i gather a php password protection learning ; let’s start
How it works /What is it ?
As you remember , in past days i promise you ,that i will put a php password protect script soon ; which i mean is A little security (Some tips to make your site safer ) (Basic) Tutorial . Today i will give you a simple free php script and a video tutorial for this purpose .
Php password protection ? Where you can use it ?
that’s as simple as i can say a member area -an admin page or somthing also , or as i mentioned in that tut for a better security in admin areas .
How to use it :
it’s so easy . just upload the folder that uploaded and posted in this post (last section ) and upload it to your host , where you want to make a password protection page and add the line below to the index.php of your page (or somthing others you want to open with a password-for example in wordpress to the wp-admin.php )
<?php require_once(“maxProtector.class.php”); ?>
- add this files where you want to set a password , in some servers must allow the php script from .htaccess
- for changing password ,just open the maxProtector.class.php and in line 10 where you can see :
var $password = ‘sctut.com’;
instead of sctut.com , put the password you need .
Simple Video Tutorial -How to make a php pass protect
i was searching the web about this type of things and find a very easy learning in youtube , the owner site was down; so i will mention it , but to make it easier for all i uploaded the video here and you can watch it and download it directly. and if you have any question about the tutorial, i will be here
- Source : www.sierrapedia.com – Teacher : Sierra Katow
- Source : it’s free sample script from phpf1