jerrrrry
asked on
follow the php mysql tuto and tells me what's wrong!
hello i'm following a tuto and it doesn't work, i ve not found a forum to solve my problem so i'm asking u to follow it by your side and tell me if it works for u or not, thanks
here is the link
i have included in .zip my own trial
fromage.zip
here is the link
i have included in .zip my own trial
fromage.zip
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I downloaded the code from their Github page and installed it. It works with the exception that the database user also needs INSERT privileges to 'register' a new user. SELECT, UPDATE, and DELETE are not enough.
ASKER
sorry, but what Github page are you talking about?
tks
tks
what Github page...Visit this URL (provided by the author in the original post):
http://www.wikihow.com/Create-a-Secure-Login-Script-in-PHP-and-MySQL
Search the page for git
Find this link:
https://github.com/peredurabefrog/phpSecureLogin
Where you can read these quotes from the author:
I'VE ABANDONED THIS PROJECT AS MAINTAINING IT IS TAKING UP TOO MUCH OF MY TIME.This block of free, online PHP code is almost the "dictionary picture" or why I do not recommend copying code you do not completely understand. That's PHP AntiPractice #1 -- just don't do that. We all understand that it can be very time consuming to learn PHP and write your own code. But when you don't have the time, your path to success will be much shorter if you choose one of the popular frameworks like Laravel. Just grabbing a random hunk of PHP code from a random internet source is almost always a recipe for catastrophe.
...CLOSE THE MASSIVE XSS HOLE...
THIS DOES WORK, BUT IT'S FAR FROM FINISHED!
ASKER
ok thanks
Yes, the page mentioned by Ray. I figured I test using the code from the tutorial and that's what I saw.
ASKER
i had alook at the framework you said but does already made code exist for safe loging?
it seems really difficult for a beginner, i a newbie i understand php but i often ask for help, here it is a really new way with shell commands and so on i 'm a bit confused!
it seems really difficult for a beginner, i a newbie i understand php but i often ask for help, here it is a really new way with shell commands and so on i 'm a bit confused!
As you know from your experience here at EE, you should follow these steps:
- show use the code you're using (possibly using the 'code' tag EE makes available for you
- tell us about errors, warnings and notices you get
- describe accurately the problem: saying 'It doesn't work' doesn't tell us enough to guess what the problem is and more less tells us what it could be the solution