Is this script for ONE single page , so i must login on every singel page again,
or is this also for multiple pages protection with one login?
Thanks for comment
Hi! This is for UNLIMITED pages!
Hi, im new to php and would like help with adding a logout button to my protected pages.
Can you give me examples of how i can call the function to logout in php?
Hi, is really simple to generate a logout link. Just add <a href="<?php echo $phpPasswordProtector->generateLogoutLink() ?>">logout</a> wherever you want to allow your users to logout.
<a href="<?php echo $phpPasswordProtector->generateLogoutLink() ?>">logout</a>
Hi, I need function to limit password usage. Ex. same password can be used only x- times. Is this possible?
Hi, unfortunately this function is not available in this version. Maybe I’ll add it in a next release.
Could you be so kind as to enlighten me to the proper syntax for echoing in a user? I tried with:
$username = ($_SESSION[$this->config[‘session_var’] . “_USERNAME”] = $user);
In my main config file, but this doesn’t seem to produce more than a blank name. I had also tried with `$user` and `$phpPP_user`, but these return no joy.
Got the user issue worked out, completely overlooked the documentation examples. I am now faced with another quandary, this doesn’t appear that it can block elements of a page, rather, it aims to block full page content. is it possible for this to block only sections of code from user levels?
I’m happy to hear that you solved the username problem. Unfortunately, at the moment, there is no way to block just an element on the page. This script blocks the whole page.
Hi, I’m looking for a password protect script and yours seems to be what I need. I just have a few questions:
- If I have 5 pages, and user has entered the password to view page 1, should he need to enter the password again to view page 2?
- It works on PHP 5.x and 7.x versions, right?
Thanks in advance!
1) You can protect every page with a single login. The users logs in just one time and then he can view all the protected pages.
2) It has been tested on PHP 5.x only, but it should work as well on PHP 7.x
3) It uses cookie only if you want to enable the “Remember me” functionality on login (optional)
Thank you! Probably I’ll buy it in a few days.
I purchased your PHP password protector. I am having trouble using it on my wordpress website. I want to create a member only page that is password/username protected. I don’t know how to install the plugin and get it up and running. Is there another plugin to convert the code so I can install it. Thanks for your help.
“php Password Protector” is NOT a WordPress plugin. Try to Google “wordpress plugin protect page with login” to find something useful for you
Hey there, I was wondering if I can use this extension with opencart to protect only the store portion of the site, or any part that I elect to be members only. The frontpage however I would still like visitors to see. Am I able to do this?
Hi advanttage! You’ll have to edit your OpenCart files in order to do what you need. It could be a complex/dangerous operation if you don’t know what you’re doing.
Use, by you or one client, in a single end product which end users are not charged for. The total price includes the item price and a buyer fee.
Use, by you or one client, in a single end product which end users can be charged for. The total price includes the item price and a buyer fee.
View license details
Get it now and save up to $3.50
Deliver better projects faster. Photos, templates & courses
Unlimited downloads. Only $29/month
Learn almost anything with
Envato Tuts+ for free
9000 free tutorials, 3000 paid courses
Designers matched perfectly to
you on Envato Studio
2000 artists ready to undertake your work