If you can see this in a browser then .htaccess is not effective!
pageInfo.txt is not secure so you should use the password in the php code.
See the programmer's guide for details.