/    Sign up×
Community /Pin to ProfileBookmark

PHP creating a Login/Registration Form

I understand this might be a easy thing for some of you guys. But, I just started learning php and was wondering how I would go about writing php files to make a registration form and a login form to a custom site. I am working on a project for my school and really need this. Anybody have any ideas?

to post a comment
PHP

6 Comments(s)

Copy linkTweet thisAlerts:
@NogDogJan 22.2017 — Most commonly this is handled with a database of users, including the login name and hashed password. The user submits the login form, and the processing PHP script looks for a match in the database. If it finds one, it sets a session variable that can be looked for by any page that requires/checks for a logged-in user.

session handling: http://php.net/manual/en/book.session.php

password hashing: http://php.net/manual/en/book.password.php OR http://php.net/manual/en/book.hash.php
Copy linkTweet thisAlerts:
@krishna_agolaJan 23.2017 — Hi,

for making login form or registration form you need basic html and php script to send data on server side using form tag.

for login you maintain session variable from logged-in-user or also you can learn from w3schools.com for basic php registration form.

All the best.

Thanks

krishna Agola
Copy linkTweet thisAlerts:
@grierslAug 28.2017 — How are you getting on? Have you managed to create your Login/Registration form?
Copy linkTweet thisAlerts:
@DhillepAug 28.2017 — Now a day each and everything to be easy, just add a login Exentensions or WordPress Plugins. thats all

for free download: **Links removed by Site Staff so it doesn't look like you're spamming us. Please don't post them again.**
Copy linkTweet thisAlerts:
@grierslAug 28.2017 — I have some PHP scrit ready for a members are if you can message me your email address I will send the zip file to you. additionally provide help where needed. I have just gotten mine running.
Copy linkTweet thisAlerts:
@NogDogAug 28.2017 — Since the original post was from January, I'm going to assume the OP is long past needing a solution, so I'll close this thread.
×

Success!

Help @rebo0t spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.20,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...