title: how to trigger a php program to run from a drupal page
body: <p>Drupal 6.25 - our Drupal site was developed years ago prior to much of Drupal's current capabilities.  So a lot of its function was custom coded in php and embedded within the body of the page.   Unfortunately Drupal 6.x doesn't like that and the wysiwyg edit literally destroys the php code.
  What I've done is to extract the complete code from the database and saved it as a file in the Drupal sites directory tree.  But now I'm trying to figure out how to invoke that file when the given page is accessed.</p>
  
  <p>I've tried the following:</p>
  
  <p>php include("sites/default/files/program_name.php"); </p>
  
  <p>But this doesn't work either.  </p>
  
  <p>Surely someone out there must be doing this so as I continue to search I am hoping that someone will be kind enough to share their working ideas with us readers?</p>
  
  <p>Thanks</p>