Hey all, Im new to php but i have made a registration page, only thing is i need to make a login.

The hard part is I want to show the login box to un-logged in users and say "Welcome USERNAME, Logout" to logged in users.

I know there will be an if else and and echo, but i need your help with that, and I need help with cookies. If anyone needs to look at my files please say, much thanks Dan.

Recommended Answers

All 2 Replies

hi,
use w3 schools for cookie concepts.Its easy to implement it.Try it ..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.