Jump to content

Secure Login Using PHP & MySQL


SalientAnimal

Recommended Posts

Hi All,

 

I have a login / registration script that doesn't seem to be functioning. Linking between pages is working perfectly, or at least so it seems, but when clicking on any of the "submit" buttons (Login / Register) nothing seems to happen.

 

Can anyone help me out? I havea ttached the files.

register_success.php

login.php

register.php

process_login.php

functions.php

Link to comment
https://forums.phpfreaks.com/topic/285256-secure-login-using-php-mysql/
Share on other sites

Just wanted to include the original source code I used for creating my login:

 

http://www.wikihow.com/Create-a-Secure-Login-Script-in-PHP-and-MySQL.

 

as mentioned earlier I have only made changes to the pages that I have uploaded. i.e using the username to login rather than the email address as specified in the tutorial.

 

It almost seems as if this section of the code isn't executing for some reason:

<input type="button" 
value="Login" 
onclick="formhash(this.form, this.form.password);"/> 

I tried using the script as is and I was still not getting any functionality from it. However, another forum user used the same script from the source site and claims that it is working for them. But when I tried to ask him if he had made any adjustments to the script etc, he accused me of hijacking his thread and was not helpful at all.

 

I have the files in the js folder yes.

another forum user used the same script from the source site and claims that it is working for them

 

 

ummm. no he didn't. go back and read the title and first post in that thread.

 

 

the posts you made in that other thread have been removed, because you did hijack it. that other thread isn't someone USING the same code. it's someone asking for opinions about that code, before he starts to write his own login script.

 

what have you done to troubleshoot what your code is doing in your browser and on your server? do you have javascript turned on in your browser? are you requesting the form page using its URL on your web server so that the php code would even be executed?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.