Seite 1 von 1

im not getting the additional files!

Verfasst: So 15.Jun, 2003 22:08
von Anonymous
i downloaded the patch and didnt get includes/functions_dl_bcmath

what gives!?!?

sure you did

Verfasst: Sa 23.Aug, 2003 16:00
von Anonymous
It was cleverly hidden in the bcdiv_bcmul.txt file

Code: Alles auswählen

######################################################## 

//Folgende Zeilen als "function_dl_bcmath.php" abspeichern und ins Verzeichnis ./includes/ vom phpBB kopieren 

<?php 

/*######################################### 
# 
# bcmath mathematische Nachbildung von bcdiv und bcmul wenn 
# diese nicht vom Provider bereit gestellt werden. 
# 
# Hier können später auch die restlichen Funktionen von bcmath 
# nachgebildet werden. 
# 
# Filename: function_dl_bcmath.php 
# 
# Contact: MARVIN4@web.de 
# Autor: Helmut.S und Karl.T 
#########################################*/ 



function bcmul($a, $b, $scale) 
{ 
$r = $a * $b; 
for ( $i=0; $i < $scale; $i++); 
$r = 10 * $r; 
$r = ((int) $r); 
for ( $i=0; $i < $scale; $i++); 
$r = 0.1 * $r; 
return $r; 
} 

function bcdiv($a, $b, $scale) 
{ 
$r = $a / $b; 
for ( $i=0; $i < $scale; $i++); 
$r = 10 * $r; 
$r = ((int) $r); 
for ( $i=0; $i < $scale; $i++); 
$r = 0.1 * $r; 
return $r; 
} 

?>
I sure it works, not really looking to uninstall this mod, however, MOD Title: pafiledb integration MOD Version: 0.0.8, is starting to look like the way I should have went. :cry: