Coder Social home page Coder Social logo

msaad1999 / php-login-system Goto Github PK

View Code? Open in Web Editor NEW
403.0 29.0 123.0 12.29 MB

Embeddable and Secure PHP Authentication System with Login, Signup, User Profiles, Profile Editing, Account Verification via Email, Password Reset System, Remember-Me Feature and more.

License: MIT License

PHP 69.92% CSS 3.96% Hack 25.87% JavaScript 0.25%
authentication-framework login-system account-verification php account-activation remember-me password-reset secure csrf-protection header-injection

php-login-system's People

Contributors

an0nlk avatar coliwob avatar msaad1999 avatar preetcoder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

php-login-system's Issues

URL in auth_functions are relative

Hi,
Great base to work with thanks for your work!!.

I noticed that in "/assets/includes/auth_functions.php" the header("Location: ../home/"); are relative.
that means they can only be included from an level one dir.
maybe header("Location: /home/"); is an solution or an entry in the env.php file.. that way its only one change...

header issues

when not logged in and you attempt to access a page that reuqires you to be logged in or verified, it seams this results in a half broken page and a error logged Cannot modify header information - headers already sent by (output started at public_html/assets/layouts/header.php:12) in public_html/assets/includes/auth_functions.php on line 60
anyone else had or knoe of this issue ?

Doesn't respond to POST

I'm new to all this and have very little experience with PHP, MySQL and IIS
It just doesn't respond to any request that's sent when trying to login or signup
(Running on IIS 10)
There's no output any errors to IIS or to the browser
Nothing even shows up in MySQL
I've tried messing around with website auth settings, still no luck

image
(No, I don't need to censor the IP, I'm using a modem as a network switch, Just a internal IP)

Unable to fully import database

Good day, thanks for this amazing project, I am trying to set this up on my local machine and I get the following error message "ERROR 1364 (HY000) at line 53: Field 'id' doesn't have a default value". I amd trying to import the sql file using the following command on my terminal "mysql -u root -pmyPassword < /path//assets/setup/DBcreation.sql"

Throttle password reset attempts

I think it would be useful if it was not possible to repeatedly ask for password reset. Although unlikely, it would also deter brute-force bots.
Would anyone happen such a snippet? Its probably fairly simple by just checking the last date/time of password_reset and showing a message, but I thought I'd ask first.

Cheers!

Problem with Contact Form

Hello @msaad1999,
Thank you for the PHP-Login-System which is a great pleasure for me
I follow the contact form which does not work 'When I am connected and even offline nothing happens'

About adding a foreign key

Hello,

Could you please add a foreign key example to your system for each logged in user. For an example not taking for each user or could you lead me to the right direction?

Unable to send verification email

hello sir,
i am facing an issue when i try to send email to verify from localhost it shows this below in pic.kindly help me.i am trying from two days but noting is happning

ASK

Where i can login for admin dasboard?

Error login/includes/login.inc.php on line 99

[17-Nov-2020 20:25:41 Europe/Rome] PHP Fatal error: Uncaught Error: Call to undefined function mysqli_stmt_get_result() in /home/mnlgfpqz/dominio.dominio.ovh/login/includes/login.inc.php:99
Stack trace:
#0 {main}
thrown in /home/mnlgfpqz/dominio.dominio.ovh/login/includes/login.inc.php on line 99

my server:
Hosting: Cpanel
PHP: 7.4
I attach photo configuration
screencapture-mike-cloudns-io-2083-cpsess8383513665-frontend-paper-lantern-lveversion-php-selector-live-pl-2020-11-17-21_06_14

file Access

Sorry
I'm lost Please how do I get the files or should I message you via email I find it difficult to access the open source codes

index.php file broken

i cloned the project but when i go on my domain it says improve this page plz help

Email trouble

I am having some odd email trouble.

using a test account at ethereal.email, emails seem to work fine.

PHPMailer configuration $mail = new PHPMailer(true); $mail->isSMTP(); $mail->Host = 'smtp.ethereal.email'; $mail->SMTPAuth = true; $mail->Username = '[email protected]'; $mail->Password = '1234xqzCE9TtzsagWH'; $mail->SMTPSecure = 'tls'; $mail->Port = 587;

All emails seem to go our properly, but this account is not suitable for wider testing, only for a very first test.

Using another account/server for phpmailer, this time ssl on port 465, the register and verify emails never show up but the password reset emails do show up.

Any thoughts on the best way to go about troubleshooting this would be welcome. I don't have access to the email server logs as far as I can tell.

Login Error

It just says wrong password even when its correct.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.