Jump to content

include problem


pouncer

Recommended Posts

i have this line in my forum.php
[code=php:0]
include '../includes/template_banner.html';
[/code]

(NOTE: forum.php is in the forum folder so to view its like like www.domain.com/myftp/forum/forum.php)

template_banner.html is simply this

[code=php:0]
<div align="center" class="style6">
        <div align="left"><span class="style14">
          <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="780" height="192">
            <param name="movie" value="flash.swf">
            <param name="quality" value="high">
            <embed src="flash.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="780" height="192"></embed>
          </object>
        </span></div>
      </div>
[/code]

but it just doesnt put that flash banner on the forum.php for some reason. All I see is a white space. Works on other pages though which are outside the 'forum' folder
Link to comment
Share on other sites

[quote author=pouncer link=topic=115013.msg468152#msg468152 date=1163548572]
include '../includes/template_banner.html';
.........

.........but it just doesnt put that flash banner on the forum.php for some reason. All I see is a white space. [b]Works on other pages though which are outside the 'forum' folder[/b]
[/quote]

So you're saying that www.domain.com/myftp/forum/forum.php DOESN'T display the banner but www.domain.com/myftp/index.php WOULD dispaly the banner?

You're telling the server to "go from my current location UP one folder and look for template_banner.html".  So what folder is this file IN?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.