pouncer Posted November 14, 2006 Share Posted November 14, 2006 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 https://forums.phpfreaks.com/topic/27284-include-problem/ Share on other sites More sharing options...
doni49 Posted November 15, 2006 Share Posted November 15, 2006 [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 https://forums.phpfreaks.com/topic/27284-include-problem/#findComment-124781 Share on other sites More sharing options...
pouncer Posted November 15, 2006 Author Share Posted November 15, 2006 template_banner.html is in the 'includes' folder Link to comment https://forums.phpfreaks.com/topic/27284-include-problem/#findComment-124800 Share on other sites More sharing options...
doni49 Posted November 15, 2006 Share Posted November 15, 2006 Yes--but where is the includes folder? Link to comment https://forums.phpfreaks.com/topic/27284-include-problem/#findComment-124802 Share on other sites More sharing options...
pouncer Posted November 15, 2006 Author Share Posted November 15, 2006 in myftp folderall the folder/files are in 'myftp' Link to comment https://forums.phpfreaks.com/topic/27284-include-problem/#findComment-124809 Share on other sites More sharing options...
doni49 Posted November 15, 2006 Share Posted November 15, 2006 Sorry I'm out of ideas right now. I'll have to defer to others. Link to comment https://forums.phpfreaks.com/topic/27284-include-problem/#findComment-124813 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.