Announcement

Collapse
No announcement yet.

PHP Header Include does not work.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
    Matthew Gordon
    Senior Member

  • Matthew Gordon
    replied
    Well, it isn't vB code, per se, so why not try renaming the variable to something other than $header?

    Leave a comment:

  • conqsoft
    Senior Member

  • conqsoft
    replied
    Originally posted by Steve Machol
    Since I don't know what you are trying to do it's difficult to help.
    Uh, I just told you/showed you what I was trying to do. I'm trying to include my site-wide custom header into vBulletin. The code above is what worked before, and it's also the same as the sample code included with VB3. If you search the VB3 support forums here for "php header include", you'll see that other people have this issue, yet an answer hasn't been given yet (that I've seen anyway).

    Leave a comment:

  • Steve Machol
    Former Customer Support Manager

  • Steve Machol
    replied
    Since I don't know what you are trying to do it's difficult to help.

    Leave a comment:

  • conqsoft
    Senior Member

  • conqsoft
    replied
    It worked before, it doesn't work now. The DEFAULT sample include code in the style manager is the same for both versions of VB, so it should still work, correct?

    // Example of how to include a seperate file:
    ob_start();
    require("/usr/home/fbforums/public_html/header.php");
    $header = ob_get_contents();
    ob_end_clean();


    Leave a comment:

  • Steve Machol
    Former Customer Support Manager

  • Steve Machol
    replied
    It would help if you posted the code and what you are trying to do.

    Leave a comment:

  • conqsoft
    Senior Member

  • conqsoft
    started a topic PHP Header Include does not work.

    PHP Header Include does not work.

    Using the same code that worked in vb2 (and also used the exact sample code that came with vb3, replacing the path/filename only). I've searched and several other people are having this problem, but I didn't see an answer anywhere.

    Thanks.
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X