Ad:
 
  • PHP Discussion Thread
  • Unsolved
  • Views: 368
  • PHP RSS
Similar Threads
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....
Reputation Points: 4
Solved Threads: 0
Newbie Poster
xofth is offline Offline
16 posts
since Apr 2010
Jul 7th, 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: 11
Solved Threads: 4
Light Poster
keval_hack is offline Offline
46 posts
since Jan 2010
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
Build Custom RSS Feed


Follow us on Twitter


© 2010 DaniWeb® LLC