Jump to content

Custom Php In Drupal


skaterdav85

Recommended Posts

For those of you that have used Drupal, do you know whats the best way to customize your drupal site with php? I have enabled the PHP filter, but Im not sure if its best to write php directly in the textarea, or should I create separate files and include them? The php I am writing is common stuff that I'll be using over and over like the mysqli_connect function. I tried doing include, require, & require_once, and they all throw errors, so Im not sure which folder to put the files I am including, if I do it that way. Anyone know? Thanks!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...