Hello board members,
Ive got phpbb installed correct and coppermine
and i followd the steps in the doc file to Integrating my phpbb with my coppermine
when i log in and i go to my photo album i see i am logged in but when i try to logout
the page dont shows :o
i think my cpg_redir.php is not correct
my phpbb board is in the url
http://81.4.88.28/~naruc/
and my photo album is in the url
http://81.4.88.28/~naruc/F/
i have this
like what should i modefy the script ?
<?php
if (!$_SERVER['HTTP_HOST']) {
$cpg_host=$HTTP_SERVER_VARS['http://81.4.88.28/~naruc'];
} else {
$cpg_host=$_SERVER['http://81.4.88.28/~naruc'];
}
$cpg_path='/F/';
header("Location: http://".$cpg_host.$cpg_path);
exit;
?>
You are only support to change 1 (one) line:
$cpg_path='/F/';
Put the rest back as it was.
Quote from: Nibbler on April 17, 2005, 05:50:00 PM
You are only support to change 1 (one) line:
$cpg_path='/F/';
Put the rest back as it was.
eeeh what do you mean ? i did not understand you my english is poor, what should the script look like ?
<?php
if (!$_SERVER['HTTP_HOST']) {
$cpg_host=$HTTP_SERVER_VARS['HTTP_HOST'];
} else {
$cpg_host=$_SERVER['HTTP_HOST'];
}
$cpg_path='/F';
header("Location: http://".$cpg_host.$cpg_path);
exit;
?>