sure, but you have to have something like a usermanagement to do that:
principle is:
if($var_username_in_db && $var_fitting_passwd_in_db && $var_some_other_condition_like_ip){
show content
}else{
echo "bad luck - log in please";
}
to make this secure you need a little more complexity but thats the idea.
ah, and hardcoding it in php is usually frowned upon. 🙂
greetings, jakob