• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

how to put a php include in my header?

drastic

Well-known member
#3
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"
 

Brogan

XenForo moderator
Staff member
#4
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
 

drastic

Well-known member
#5
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: