i am new to php.
i download the login and signup system from
http://www.plus2net.com/php_tutorial/php_signup.php
it is working well but the problem is that i want to use that in my website

i want that i have a portion in my web(right side corner) where i include the php login page.
it shows but i want that when user login then only change that area of login(which i include) and shows the another file that says "Welcome to My web, logout)

i just want the concept how this will include....

You have to use session for this.

1) first start the session when user success login and store username in $_SESSION array then give the conditio if session variable contains usename than display "welcome username" otherwise display login box.

-keval

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.