I installed both Coppermine and phpBB (2.0.11) properly and they work fine apart, I went through the integration steps and everything was fine, but I placed the cpg_redir.php file in the phpBB root filder, and when I went to my gallery and clicked 'logout' (I was currently logged in through the board) and it took me to http://microsoft.com, how it did that I have no idea, below is the code in the cpg_redir.php file
<?php
if (!$_SERVER['HTTP_HOST']) {
$cpg_host=$HTTP_SERVER_VARS['HTTP_HOST'];
} else {
$cpg_host='http://theshriekingshack.com';
}
$cpg_path='/site/gallery';
header("Location: http://".$cpg_host.$cpg_path);
exit;
?>
http://".$cpg_host.$cpg_path =
http://http://theshriekingshack.com/site/gallery
change $cpg_host to:
theshriekingshack.com
instead of
http://theshriekingshack.com
thanks, I'll change it
works like a charm now, thanks! ;D