Hi guys, i really need help for this script: what I want is a log-in script that redirects the user to a different href depending on what username/password they entered, so e.g. - username1 will go to page1 and username2 to page 2, etc...
If preferable all the username/passwords would be stored on a text file or something so all pages that use the details don't need to be updated every time a new user is needed to be added.
So far I have this....
However, for the first username - it doesn't seem to work on occasion and redirects to the error page instead of the href! Can anyone see why this would be?
Hope someone can help me!
Thanks in advance!