 , but thank you very much like always. :wink:
 , but thank you very much like always. :wink:Moderator: Supporter
#
#----------[ FIND ]-------------------------------------
#
     $phpbb_url = "http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/"; 
#
#----------[ REPLACE WITH ]-----------------------------
#
   $phpbb_url = $_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/";
   $phpbb_url = preg_replace("(\/\/)", "/", $phpbb_url);
   $phpbb_url = "http://".$phpbb_url;
#
#----------[ SAVE AND CLOSE ALL FILES ]-----------------
#
# EoM

$phpbb_url = "http://".$_SERVER['HTTP_HOST']; 
     $phpbb_url .= (!dirname($_SERVER['PHP_SELF'])) ? '' : dirname($_SERVER['PHP_SELF'])."/";  , aber aufm server wieder nicht
 , aber aufm server wieder nicht  !  sind wieder 2 / am ende...
 !  sind wieder 2 / am ende...    if ($_SERVER['HTTP_HOST'] == "localhost") {
   $phpbb_url = "http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/"; 
   }
    else 
   {
   $phpbb_url = "http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']).""; 
   }   
 
 
habs bei mir nun so eingerichtet



   $phpbb_url = $_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/"; 
   $phpbb_url = preg_replace("(\/\/)", "/", $phpbb_url); 
   $phpbb_url = "http://".$phpbb_url;  
  




 

No that is not realizable.if the topic id is the same, i think it isn't needed to query it again. maybe this is possible.



#
#-----[ OPEN ]----------------------------------------------------------------
#
includes/bbcode.php
#
#-----[ FIND ]----------------------------------------------------------------
#
     $phpbb_url = "http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/";
#
#-----[ REPLACE WITH ]--------------------------------------------------------
#
     $phpbb_url = "http://".$_SERVER['SERVER_NAME'].dirname($_SERVER['SCRIPT_NAME'])."/";
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------------
#
# EoM

Mitglieder in diesem Forum: 0 Mitglieder und 4 Gäste