i have a page, written in php. i wana include a guestbook, wich is in a sub-folder (it contains more than 10 files).
with the "normal"-include tag it doesn't work, with chdir it shows the guestbook, but i can't entry new entrys...
it looks like that:
PHP Code:
<?
if(isset($_GET['d']))
{
if( $_GET['d'] == "guestbook" )
{
chdir("guestbook/");
include "index.php";
}
else
{
include($_GET['d'].".php");
}
}
else
{
include("home.php");
}
?> </P>
look page at: http://circle-ape.ch/index2.php?d=guestbook
how can i make, that it works?
thanks for your request
--------
sorry that my english is awful.... 
|