title: PHP - Block a php page from users
body: <p>I created a PHP page that is allowed only for one person, That's OK but when the non allowed user write in address bar <code>view-source:tstwebsite.com/test/page.php</code> it shows the user the source of the page can I block the source code from the user? this is my code that allow this page only for one user.</p>
  
  <pre><code>$aiwab = mysql_query("SELECT * FROM `table`");
  while($aiwa = mysql_fetch_array($aiwab)){
  $alo = $aiwa['allowed'];
  if ($alo == 2 ){
  
  }else{
  echo "&lt;script&gt;javascript:history.go(-1)&lt;/script&gt;";
  }
  }
  </code></pre>
  
  <p>So how Can I block the user from viewing the source code?</p>