Suggestions on how to call an external php program when a given drupal page is accessed?

Events happening in the community are now at Drupal community events on www.drupal.org.
bobmct's picture

Our site has a number of custom developed php features that have originally embedded within the body portion of certain Drupal pages. The latest D6.x versions are playing havoc with this embedded code and it's not executing.

I've tried to extract the code, write it into a separate external file and then embed an include within the body of these pages. The include looks something like:

<?php
include("sites/default/files/program_name.php");
?>

But this is NOT working. How are others calling similar external programs/functions from pages? There has got to be a better way?

Inquiring minds need to know????

Connecticut

Group categories

County or Region

Event Type

Featured Item (Admin Only)

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: