"YToyOntzOjE6ImwiO3M6OToie0dBTExFUll9IjtzOjE6InMiO 3M6MTU5OiI8ZGl2IGNsYXNzPSJmb290ZXIiIGFsaWduPSJjZW5 0ZXIiIHN0eWxlPSJwYWRkaW5nLXRvcDogMTBweDsiPlBvd2VyZ WQgYnkgPGEgaHJlZj0iaHR0cDovL2NvcHBlcm1pbmUuc2YubmV 0LyIgdGFyZ2V0PSJfYmxhbmsiPkNvcHBlcm1pbmUgUGhvdG8gR 2FsbGVyeTwvYT48L2Rpdj4iO30="
Which translates to something like this:
"a:2:{s:1:"l";s:9:"{GALLERY}";s:1:"s";s:159:"
You need to unserialise it into a multidimensional array, change the link, re-serialize it and re-base64_encode it.
If you want to make disapeer the Powered By coppermine, just go to functions.inc.php and comment or delete the line
$template_footer = substr($template, $gallery_pos);
Better replace:
$template = str_replace($tmpl_loc['l'], $tmpl_loc['s'] ,$template);
with
$template = str_replace($tmpl_loc['l'], '' ,$template);
1- Create a php file containing this :
Code:
$str= 'a:2:{s:1:"l";s:9:"{GALLERY}";s:1:"s";s:142:" ";}';
echo base64_encode($str);
?>
IMPORTANT : You see the number 142 in bold in the code. This number corresponds to the number of characters of the string, including spaces, MINUS 47.
2- Upload it and run it.
3- Copy the line that appears in your browser.
4- Paste it in functions.inc.php after define ('LOC','
5- Enjoy !