View Single Post
Old 02-26-2004, 07:05 AM   #8 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,726
redhead is on a distinguished road
Quote:
Originally posted by Imon Fyre
when i send some information beforehand to the browser (such a <html> tag or whatnot) it comes back with something along the lines of header already sent to browser
This is due to the fact, that header() info must be send befor any text/stream/whatnot is send to the browser.

Quote:

and the '===' operator works just fine.. i made sure to test it earlier...
Sorry, didn't see the explanation on http://php.net/operators.comparison
Quote:
$a === $b Identical TRUE if $a is equal to $b, and they are of the same type. (PHP 4 only)
How about trying:
PHP Code:
if(!isset($_POST['enter'])) 
    { 
        
login_page(); 
    } 
    else 
    { 
        
password_verify($_POST['pass']); 
    } 
Since you use the post method in your form.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote