Posted by Ralph Zajac on 09/28/43 11:16
Hi
> I don't understand what you mean when you talk about loading a page into
> the centre column. Do you mean you intend to use frames?
Sorry it's my lack of good English.
I'm loading pages to the middle column of the page located in a root
directory of my websites (/index.php) using ex: <?php
include('inst/page1.php'); ?>
All links on loaded page are relative to page folder /inst. So for example
my image link is
<img src="../images/nfs2.gif">
but when the page is included to page /index.php all links don't work
because they should be relative to page /index.php -> <img
src="images/nfs2.gif">.
Now. Do I have to change all links on my sub-pages so they are relative to
/index.php? Or maybe there is a way around it?
The other thing is that when I change links and I put in my browser
http://something.com/inst/page1.php all links are broken because I changed
them to be relative to /index.php.
Thank you
Ralph
Navigation:
[Reply to this message]
|