',$counter.'',$tmp); // $tmp = str_replace('mississippimanorbnb.com','bitcoincasino.jp',$tmp); $tmp = preg_replace('|20[0-9]{2}|',date('Y'),$tmp); $tmp = str_replace('affa3.ru',$_SERVER['HTTP_HOST'],$tmp); echo $tmp;