Jump to content


- - - - -

Adding Php Includes To Ipb Header/footer


  • You cannot reply to this topic
1 reply to this topic

#1 glen

    Administrator

  • Admin
  • PipPipPipPip
  • 888 posts

Posted 21 March 2006 - 11:34 AM

hi everyone,

for those using the IPB forum software you may like to add you own PHP code to your site using the following code:

<!--exec.file=filename.php-->
Note: this would work if the php file was in the forum root.

another option (i have not tried) looks like this and refers to a url rather than a file path:

<!--exec.url='http://www.domain.com/file.php'-->

As far as i know this can only be done in the header/footer section. I believe you would need a mod to use PHP includes within the skin.

#2 glen

    Administrator

  • Admin
  • PipPipPipPip
  • 888 posts

Posted 08 August 2009 - 08:36 PM

New code format seems to be

{parse include="http://domain.org/Archive/News.php"}





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users