Phpbb + copermane Phpbb + copermane
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Phpbb + copermane

Started by emiru, June 25, 2004, 03:34:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

emiru

I need help about connecting phpbb and coppermine usernames. I did everithing like you said.
My phpbb domain is www.domain.com/forum
and copermain www.domain.com/slikice

is this ok

<?php
if (!$_SERVER['HTTP_HOST']) {
  
$cpg_host=$HTTP_SERVER_VARS['HTTP_HOST'];
} else {
  
$cpg_host=$_SERVER['HTTP_HOST'];
}
$cpg_path='/slikice/';
header("Location: http://".www.domain.com/slikice/./slikice/);
exit;
?>

Nibbler

The header line is supposed to be:

header("Location: http://".$cpg_host.$cpg_path);