Previous to updating the coop I had no problems getting the coop ads centered in the footer of the page, but for some reason after the mandantory update using the passthru method on html files I can't get it to work. My passthru code is as follows: <?php if (!function_exists('file_get_contents')) { function file_get_contents($url) { $handle = fopen($url, 'r'); $string = fread($handle, 4096000); fclose($handle); return $string; } } include ('ad_network_377.php'); echo preg_replace ("/<\/body>/i", $ad_network . '</body>', file_get_contents(str_replace ('../', '', $_REQUEST['file']))); ?> Code (markup): From my understanding, I want to center the variable $ad_network using the <center> tags, however everything I have tried doesnt work. Any help would be appreciated. Thanks
<?php if (!function_exists('file_get_contents')) { function file_get_contents($url) { $handle = fopen($url, 'r'); $string = fread($handle, 4096000); fclose($handle); return $string; } } include ('ad_network_377.php'); echo preg_replace ("/<\/body>/i", '<center>' . $ad_network . '</center></body>', file_get_contents(str_replace ('../', '', $_REQUEST['file']))); ?> PHP: