Ok well I selected the hardcoded method because the information isn't delicate in the least and also there is only going to be two users so its pretty easy.
After a success it is supposed to redirect to the admin page but it isn't.
Currently the Autherization file looks as follows:
<?php
if ( ( !isset( $PHP_AUTH_USER )) || (!isset($PHP_AUTH_PW))
|| ( $PHP_AUTH_USER != 'root' ) ) {
// || ( $PHP_AUTH_PW != 'open' ) should be after the root check once a pw is actually set
header( 'WWW-Authenticate: Basic realm="Private"' );
header( 'HTTP/1.0 401 Unauthorized' );
echo 'Authorization Required.';
exit;
} else {
header('Location: [url]http://localhost/PHP/jobs.v0.2.php[/url]');
}
?>
Upon inputting root as the username it just sits at loading the localhost, when all its supposed to do is redirect to the jobs page. Any ideas?