|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
||||
|
||||
|
Problem #1:
With my log-in script it keeps going to the last else which just echos saying "It doesn't work". I re-checked the database to make sure the username and password exsist in the table, and they do. Problem #2: In the address box in IE it puts: login.php?suankeyusename=JoeyD473&password=dragon&submit=Log+In How do I get it to not show that information in the address box? and if I can't how do I get it to at least not show the password? The script is in the zip file Side notes: 1. I plan on combining Admin.php and login.php into one file after I get it working (easier to work with smaller pieces then one large piece) 2. I am only using session functions [ie. session_start()] instead of the session globals for testing purposes
__________________
CHornJr "One day I'll know what I am doing" ![]() My Blog Suanhacky Lodge #49 Rebel Squadrons |
|
#2
|
|||
|
|||
|
I don't know problem 1 but i know what problem 2 is.
you have PHP Code:
and to get it to not display in the information in the address box you use PHP Code:
|
|
#3
|
||||
|
||||
|
try this:
change PHP Code:
to this: PHP Code:
PHP Code:
And pro is right, change the method from get to post. |
|
#4
|
||||
|
||||
|
Thanks. I never knew when you MD5ed a column it had to be 32 characters long
|
|
#5
|
||||
|
||||
|
It sure does
![]() I'm guessing that worked? |
|
#6
|
||||
|
||||
|
yes it did.
![]() |
|
#7
|
||||
|
||||
|
Great! Glad I could help
![]() |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > Two problems with my login script |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|