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.