Edit: Thank you for your help and time. I will change all my extension to .php as recommended and check the link that was shared :)! I’m a beginner at coding and I have been stuck for a few days on a problem. So, I have coded a html page with a login form. Once the user click the button
Tag: session
Is this php login system secure? [closed]
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 2 years ago. Improve this question Is this login page secure, researching about sql-injection, is their a vulnerability if so how do I manage it? I previously
How to assign random session key to visitor who visit the website in PHP?
I have not much experience in PHP. i am creating a shopping store in PHP where a visitor can add item into cart without creating account (as guest). so i just want to assign him a unique id or key for add to cart process. so how can i assign him a random key when he visit the website? Answer
SQL database value to variable
So, I am kinda new to php and mysql, but I have found a login form and adapted it to my needs as I dont have the knowledge to make one my self yet. I added a firstname and surname column into the database and the register form adds the values into the database fine. Now I want to be
setting session id variable from sql database; is this safe?
Is it unsafe to use the user_id in my sql table as the session id? is this normally what php developers do? (source: sockface.com) Also I’ve tried countless times to store the session id as the …