Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Phpbb + copermane  (Read 2588 times)

0 Members and 1 Guest are viewing this topic.

emiru

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Phpbb + copermane
« on: June 25, 2004, 03:34:47 pm »

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

Code: [Select]
<?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;
?>
« Last Edit: June 26, 2004, 09:06:58 am by GauGau »
Logged

Nibbler

  • Guest
Re: Phpbb + copermane
« Reply #1 on: June 25, 2004, 06:27:32 pm »

The header line is supposed to be:

header("Location: http://".$cpg_host.$cpg_path);
Logged
Pages: [1]   Go Up
 

Page created in 0.013 seconds with 14 queries.