Well, overall, I'm not completely sure of the plan, but this is my idea...
I think you need to put some kind of check at $_POST['send']. This would seem logical. Additionally, if a person does not have the correct password you'll need to offer them a default page (or should)...
It's possible that the solution could be something along the lines of:
if(isset($_POST[send]) && ($_POST['text'] == 'password')) {
// show results
} else {
// incorrect password
}
But this is very lazy security. I would have guessed you were interfacing with a database. Or doing some md5 encryption...or creating a session/cookie at the same time...
Perhaps this post will simply get you started down the right path. Good luck...