1 (edited by devinkray 2005-12-20 21:33)

Topic: Integration Problems

Im trying to integrate this in my site without frames

punbb.php

<?
require "include/bittorrent.php";
dbconn();
stdhead("Punbb Forum Hack");

$page=$_GET['page'];

switch ($page)
{
        case "index":
        require_once('./punbb/index.php');
        break;
        default:
        require_once('./punbb/index.php');
}


stdfoot();
?>

but when i goto

mysite.com/punbb.php?page=index

its in my site but displaying these errors

Warning: main(./include/common.php): failed to open stream: No such file or directory in C:\WM\www\punbb\index.php on line 26

Warning: main(./include/common.php): failed to open stream: No such file or directory in C:\WM\www\punbb\index.php on line 26

Fatal error: main(): Failed opening required './include/common.php' (include_path='.;c:\php4\pear') in C:\WM\www\punbb\index.php on line 26

Hopefully someone can hel me out i donno what the problem is




UPDATE, i got it thanks for the help tongue