CodeCanyon

Quick PHP Password Protection (Login System)

  • Bought between 100 and 499 items
  • Has been a member for 3-4 years

Of course it’s SQL injection proof—you said it doesn’t require a database :)

Looks good…

  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Netherlands
  • Sold between 1 and 100 dollars

“You are trying to login too much. THIS SOFTWARE IS NOW IN LOCKDOWN MODE . YOU CANNOT ENTER .

If you are a legit admin, edit the login.ini file, scroll down to the bottom, and edit the appropriate settings to disable this lockdown”

The reason why I bought this system is because of that feature. However, it doesn’t work… Nothing will be edited in login.ini.php, it’s just a fake message.

Bruteforce robots doesn’t accept cookies and sessions. The bruteforce protection will not work.

Could you fix this please? I expected a LOCKDOWN -feature but it doesn’t work.

TheDesignerGuy

If the bruteforce robot does not accept sessions and cookies, it cannot login. Most login systems, including this one, REQUIRE you to accept cookies. Therefore no bruteforcing robot can get in – if it does not accept cookies, it will not get in at all, while if it does, the sessions will prevent it from trying too much.

Anyway, I will update the program soon, and make it edit the INI file to lockdown the software physically. Currently it only uses sessions to lock it down.

Hopefully that clears the misconception!

  • Bought between 100 and 499 items
  • Has been a member for 4-5 years
ttheb64 Purchased

nice file like it lots :) works great

  • Bought between 100 and 499 items
  • Has been a member for 5-6 years
bigmango Purchased

I’m sure I’m doing something wrong….but I can get the form to work, but I can easily by-pass it to get into my directory…maybe I”m missing something….can you please help me out?

TheDesignerGuy

Have you implemented the code on each page you want to protect? This script protects each PHP page individually.

$quickprotect->checkLoginAndDirect();
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Netherlands
  • Sold between 1 and 100 dollars

Thanks. When do you think the update is ready to download? :)

TheDesignerGuy

Unfortunately I’m on vacation this weekend, and I won’t be able to do it immediately. It is a quick fix though. I will do it hopefully soon after. Meanwhile, the code is still secure, and you can use it in your production environments.

  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Netherlands
  • Sold between 1 and 100 dollars

That’s okay ;) Have a nice holiday!

  • Bought between 50 and 99 items
  • Has been a member for 5-6 years

I load it on my server and login.php just shows up blank, view source nothing there… any idea’s why it might be doing this?

update- I put all the files as is in my folder and it works right, I want it to reside in the root folder are there any paths I need to change or anything?

TheDesignerGuy

Everything you need to change is in the INI file…

  • Bought between 50 and 99 items
  • Has been a member for 4-5 years

All pages that are to be protected have to be PHP pages to use this LOGIN , correct?

My site is HTML -based – and, I don’t really want to have to convert them.

  • Bought between 50 and 99 items
  • Has been a member for 4-5 years

All pages that are to be protected have to be PHP pages to use this LOGIN , correct?

My site is HTML -based – and, I don’t really want to have to convert them.

(Same message as above – just forgot to click the checkbox)

TheDesignerGuy

Yes, this is a PHP script. So yes, PHP code must be inserted to be able to protect each individual page.

  • Bought between 50 and 99 items
  • Has been a member for 5-6 years

I think my issue is my server or php version (5.2.2) dunno, still testing. It works with a different host. not sure the version there.so…

jagster – you can keep your pages html but use a php extension paste the three or four lines in. save as php. not sure that would be best practice. but it does work.

  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Netherlands
  • Sold between 1 and 100 dollars

Hi,

When do you think the update will be available to download? Don’t hurry ;)

Greets!

TheDesignerGuy

Hi PHPerfect,

I don’t want to sound rude or anything, but take a look at this: http://codecanyon.net/forums/thread/so-demanding-/24925

I’m sorry, but I think my software has good enough brute-force protection, like I explained before, and I don’t have the time to make a feature just for a single customer like you. I know I suggested before that I would do it, but after reading that thread, and rethinking the situation, It’s just not worth my time to develop a feature which few need (script works fine and secure without it).

If you do not feel that I have supplied the described software, you could ask for a refund of your money from Envato. I feel that I have provided as described.

  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • United States

for some reason i cant get this thing to work

I upload everything like it is, when i unzip your file but still

the protected page has the

<?php require_once ”../quickprotect.class.php”; $quickprotect = new quickprotect(); $quickprotect?>checkLoginAndDirect(); //This checks if the user is logged in, and if not, directs him to login.php ?>

but still i dont know im about to cut my veins!!

please help!!

can you tell me step by step please please….

  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • United States

i get this error

Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/content/e/e/a/eealard/html/jbsmiami/quickprotect.class.php on line 6

TheDesignerGuy

You need to re-upload the files, it seems something has been corrupted.

  • Bought between 50 and 99 items
  • Europe
  • Exclusive Author
  • Has been a member for 4-5 years
joja Purchased

Hi do you have any idea on how would I introduce the php script in a wordpress or joomla web page ?

By the way congratulations for the file it’s simply great ;)

Also I have the issue of needing to protect html files, do you know how could I do that? any trick??

thanks in advance and good luck

TheDesignerGuy

Wordpress has built-in password protection for pages, and I’m pretty sure Joomla would have it too, so I don’t see why you would need it.

Unfortunately I’m not a joomla/wordpress plugin developer, and I’m not sure how to implement this script with them.

  • Bought between 100 and 499 items
  • Has been a member for 4-5 years
Claudia Purchased

Hi this do not work for me Do not know why.

  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 1 and 9 users
ybouhlel Purchased

Hi, the script looks good.. but one problem.

This INI file stores settings for Quick PHP Login System. This file is not viewable through a browser.

I tested login.ini.php on my local server XAMPP and the file is viewable through a browser, when I click view-> source page!! I can see all the settings. What is wrong?

TheDesignerGuy

XAMPP must be configured in debug mode to echo PHP comments. It is not possible to see the settings otherwise, because they are stored in commented code, which is not normally echoed.

Default-user
ybouhlel Purchased

Thank You ;)

  • Bought between 100 and 499 items
  • Has been a member for 4-5 years
  • United States

My question is this. How hard would it be to use this on a Photographers site with multiple pages with galleries to hide the individual pages with a password so no one can see the galleries without a password. Also, I saw that you said it wasn’t for multiple users, however, can it not be on different pages with a different password for each?

TheDesignerGuy

It can be done. You would have to have a separate config file for each page with a different PW though.

  • Bought between 10 and 49 items
  • Canada
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 10 and 49 users
  • Sold between 5 000 and 10 000 dollars

Notice to all: I will be gone on vacation for about 1 month and 10 days (starting from June 26), so I will be unable to answer any inquiries or provide support for this period. Please browse the FAQ , or take a look at this comment thread if you run into any issues.

  • Bought between 50 and 99 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 1 and 9 users
  • United States
Rgre1 Purchased

Okay, I changed it so it only has password box and in the box I changed the pass to a code kind of like a token and, I can’t figure out how I can make it so that only 1 person can uses it and no one else for 24 hours or unless I change the code

  • Bought between 10 and 49 items
  • Has been a member for 3-4 years
  • United Kingdom

I have recently purchased the user system and implemented it on a site. I have noticed that if a user logs in and then navigates away from the password protected sections and then goes back using the exact page address its fine but if the user goes back to the login page it asks the user to log in again. Is there a way where it remembers if you are logs and just redirects the logged in user straight back to the protected content instead of entering the log in details again on the login page. Should it not know the user is already logged in?

Regards Marc

TheDesignerGuy

You can use the function is_logged_in() to check if the user is logged in and redirect him if necessary. Check the readme for more info.

by
by
by
by
by