942,513 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 578
  • PHP RSS
Jul 7th, 2010
0

PHP Login box

Expand Post »
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....
Similar Threads
Reputation Points: 8
Solved Threads: 0
Newbie Poster
xofth is offline Offline
18 posts
since Apr 2010
Jul 8th, 2010
0
Re: PHP Login box
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
Reputation Points: 8
Solved Threads: 4
Banned
keval_hack is offline Offline
66 posts
since Jan 2010

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: PHP IF statement seems to be redefining a variable
Next Thread in PHP Forum Timeline: error in PHP (calling from sql statement)





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC