Phpbb + copermane Phpbb + copermane
 

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

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);