The exit is causing the program to end. How are you definining $username? Did you try printing $username and $username_db to be sure the values are what you expect before doing the if statement?
--
Diplomacy is the art of saying "Nice doggie" until you can find a rock.
naChoZ
In reply to Re: searching a file
by naChoZ
in thread searching a file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |