|
@ -473,7 +473,6 @@ if (!$handle) die ('cannot open '.$bibfilename); |
|
|
// if you encounter this error "Allowed memory size of xxxxx bytes exhausted"
|
|
|
// if you encounter this error "Allowed memory size of xxxxx bytes exhausted"
|
|
|
// then decrease the size of the temp buffer below
|
|
|
// then decrease the size of the temp buffer below
|
|
|
$bufsize=BUFFERSIZE; |
|
|
$bufsize=BUFFERSIZE; |
|
|
|
|
|
|
|
|
while (!feof($handle)) { |
|
|
while (!feof($handle)) { |
|
|
$sread=fread($handle,$bufsize); |
|
|
$sread=fread($handle,$bufsize); |
|
|
//foreach(str_split($sread) as $s) {
|
|
|
//foreach(str_split($sread) as $s) {
|
|
@ -1421,6 +1420,7 @@ function createQueryString($array_param) { |
|
|
|
|
|
|
|
|
// then a simple transformation and implode
|
|
|
// then a simple transformation and implode
|
|
|
foreach ($array_param as $key => $val) { |
|
|
foreach ($array_param as $key => $val) { |
|
|
|
|
|
if($key == '_author') { $key = 'author'; } |
|
|
$array_param[$key]=$key .'='. urlencode($val); |
|
|
$array_param[$key]=$key .'='. urlencode($val); |
|
|
} |
|
|
} |
|
|
return implode("&",$array_param); |
|
|
return implode("&",$array_param); |
|
|