Just as a very quick background: I was asked to make a front-end to a database for my bishopric to use to keep track of information on students... I decided to use PHP because I prefer it to ASP, for reasons that you can probably all guess... (php is inherently superior...) However, I am having a very unusual problem that I'm sure must be an error on my part, but I have spent a number of hours working on it, and can't find it!
So, here's the problem: I have a html page that simply asks for a username and password which are then passed to a php page which checks for whether the username and password are the same as in the database. If it's the same, it forwards the user along to "input.html" otherwise it passes them back to "login.html". Currently, the page is redirecting the user if they have the password incorrect, but leaving them at a blank page if they are "authorized"... I tried setting all of the redirects to redirect to the same page, to see if maybe it was just not liking the input.html page, but it still wouldn't redirect if the if-statement was true. I also tried commenting out my "setCookie" statement, because I thought that maybe that could be causing problems... In the hope that somebody might be able to see some mistake I'm making (I'm still not exceptionally experienced with PHP), I'm attaching the "checkLogin.php" file... Thank you so much! ~Erin ===== �The pledge of allegiance to the flag is a pledge to the ideals of our forefathers, the men who fought and died in the building of this great nation. It is a pledge to fulfill our duties and obligations as citizens of the United States, and to uphold the principles of our constitution. And last but not least, it is a pledge to maintain the four great freedoms treasured by all Americans: freedom of speech, freedom of religion, freedom from want, and freedom from fear.� ~Lee Greenwood __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com _______________________________________________ newbies mailing list [EMAIL PROTECTED] http://phantom.byu.edu/cgi-bin/mailman/listinfo/newbies
