You are here: Re: Rookie Question About Include « All PHP « IT news, forums, messages
Re: Rookie Question About Include

Posted by Henry on 09/19/06 19:32

On 18 Sep 2006 20:12:26 -0700, rhustin@gmail.com wrote...
>
>Hi,
>
>I am extremely new in the web programming department and even more with
>php.
>
>Here is the situation:
>
>I have a html frameset on the left and on top with the mainframe in
>between that(which I plan on removing once I get more familiar with
>php).
>I also have a phpBB board which I would like to load inside my frame.
>
>Here is the TEST code I used in my forum.php file which is the source
>of the mainframe:
>
><table border="1" width="100%">
> <tr>
> <td>
> <BASE HREF="http://forum.url/...">
> <?php include 'http://my.phpBBfofum.net/index.php'; ?>
> </td>
> </tr>
></table>
>
>I used the baseref because otherwise the images wouldn't display.
>
>It works fine for the first page display and there is no horizontal
>crossbar in the frame. The problem I have is that once a link is
>clicked on the phpBB forum the table disapears and when I open a thread
>an horizontal bar appears in the frame and I have sort of no control
>over that. Just like if the thread page was bigger than the others or
>if the frame was not taken care of by the thread page.
>
>What I am trying to figure out is if there is a possible way to prevent
>that with php code? I would like the page to reload and still fit the
>table/frame again.
>
>Hope it was clear... any help would be apreciated, thanks.
>

I've typically used include to define some global variables that I can access
from one location, but I'm not familiar with using is to open a PHP page. I've
used the PHPBB software before and remember it used quite a bit of templates and
includes itself. It may be easier to create your own them by altering the
default pages that come with it. As an example updating the header and footer
templates that are usually used with all of its pages.

Henry
--
Help a Community by Participating in Ours
We donate your subscription fees to the charity you choose
100% of your first month, 10% thereafter.
http://newsguy.com/charity.asp

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация