Hi,
I tried out some ready to install scripts "phpOpen1.0-Beta". Unfortunately it doesn't work. Can anyone help?
Fatal error: Cannot redeclare geturl() in ..\php\common.include on line 5
Code from common.include:
function getURL ()
{
global $dir;
if (!isset($dir))
{
$indexpage = 1;
}
else
{
$indexpage = 0;
$dir = stripslashes ($dir);
$dir = str_replace ("'","%27",$dir);
}
if ($indexpage)
{
$url = "http://directory.netscape.com/";
}
else
{
if (substr ($dir, 0, 1) == "/")
{
$url = "http://directory.netscape.com".$dir;
}
else
{
$url = "http://directory.netscape.com/".$dir;
}
}
return array ($url, $indexpage);
}
thanks tanja