[PHP] Re: making FORM dissapear when successful login

2005-01-05 Thread JHollis
nevermind...i figured it out. I will read up on sessions and test some things with what you posted and if i have anymore questions, i will post them. Thanks Jerry. If anyone else has any other suggestions, please feel free to share them with me. JHollis wrote: Where do i need to start my sessi

[PHP] Re: making FORM dissapear when successful login

2005-01-05 Thread JHollis
Where do i need to start my session? Ive copied and pasted exactly what you have typed..and the form doesnt display unless i hard code the variable to "NO". Jerry Kita wrote: I do exactly the same thing on my website. I use PHP's Session handling to determine if a user is actually logged on.

[PHP] Re: making FORM dissapear when successful login

2005-01-05 Thread Jerry Kita
I do exactly the same thing on my website. I use PHP's Session handling to determine if a user is actually logged on. You can see that I check a variable called $validlogon which I set to either YES or NO at the beginning of the script Salkehatchie Members Login Here:\n"; print "\n"; print "USE

[PHP] Re: making FORM dissapear when successful login

2005-01-05 Thread JHollis
Thank you for your suggestion, but do you care to be more descriptive, maybe some examples would be nice. Can you tell my why the code i have doesnt work? I would love to use sessions, but i was just trying to get an understanding of how the basics work first. Jonathan wrote: I think you shou

[PHP] Re: making FORM dissapear when successful login

2005-01-05 Thread Jonathan
I think you should use session control after checking for login. "JHollis" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I had this code working the way i wanted it to (as far as correct > username and password allowing successful login)...but what i want to > happen now is when a