title: Efficient way to prevent browse URL submit
body: <p>I have a button on page which calls a php file like below:</p>
  <pre><code>message_sql.inc.php?act=delete&amp;message_id=1
  </code></pre>
  <p>Is there an efficient way to prevent running the url directly from the browser and only allowing it when called from a script?</p>