how to add personal functions via php include command
Posted by dreadstar on December 23, 2008 at 3:25pm
Newbie here stuck with a problem. Patulong naman sa mga gurus.
Im learning Drupal because the cms allows php code to be embedded into a story/page node. My php code uses some very often called functions all stored in a library file and called by my php code via the 'include' command.
Unfortunately, Drupal does not like the 'include' command and spits out an error pointing to the core file common.inc. Anyone knows how I can 'include' a php library file called by my php code?
More details can be seen at my post at http://drupal.org/node/346065
Read more