Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP

Mayur Pande
PLUS
Mayur Pande
Courses Plus Student 11,711 Points

Trying to build a php oop login/register system

As a learning exercise for OOP PHP, I am going to build a simple login/registration system.

I know there are tonnes of examples over the internet but I want to try this on my own.

Can anyone recommend the steps I should follow?

1 Answer

Connor Unwin
Connor Unwin
11,100 Points

Hi Mayur, well you might want to explore sanitising data for a user making an account or hashing users passwords for when your are storing them. Here is a link you might find useful http://php.net/manual/en/function.password-hash.php