Author |
Message |
08/11/2004 17:49:33
|
geo
Beginner
Joined: 08/11/2004 17:41:00
Messages: 5
Offline
|
If the guestbook is included in a web page using, for example,
<?php include("./guestbook/index.php"); ?>
then the images don't show because the path is now wrong, ie. the image path is relative to the calling directory instead of the guestbookdirectory.
If the include uses the full url then images show but the guestbook links (eg. post a new entry) don't work.
Is there a way around this?
thanks
Geo
-----
|
|
08/11/2004 20:04:54
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
open lib/config.inc.php and change the base_url. You would be better off using a header a footer file and calling them at the start and end of index.php and addentry.php.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
09/11/2004 17:31:54
|
geo
Beginner
Joined: 08/11/2004 17:41:00
Messages: 5
Offline
|
Thanks - that's sorted it!
geo
-----
|
|
|