how to put a php include in my header?

drastic

Well-known member
Guys and gals,

How can I place a php include in my header file?

What's the proper code to insert it?
 
I tried that, but it won't excecute the php.

Here's what I'm trying to use a php include for:

include("/home/public_html/crankers.com/trades/in.php"
 
Note the constraints:
  • Like all of our other callbacks, it must happen to a method within a class. You can't just read out /etc/passwd directly.
  • The method that you're calling must start with a limited set of prefixes: get, is, has, render, view, return, print, show, display
 
non coder here...i saw that and just thought "whaaaaat?" I wasn't sure what to do at that point.

edit - found another thread on callbacks that let me know the steps needed.

thanks for pointing in the right direction, it worked perfectly.
 
Last edited:
Top Bottom