<?php
$yol = "sitemap.xml.gz";
$sitemap = "http://www.site.com/sitemap.xml";
$veri = file_get_contents($sitemap);
$zip= gzdecode($veri);
$fh = fopen("$yol", "w"); 
fwrite($fh,$zip);
fclose($fh);
?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9" />
<title>Sitemap.xml.gz Oluşturucu</title>
</head>
<body>
<b>sitemap.xml.gz dosyanız oluşturulup ftp ye indirildi...</b>
</body>
</html>
yukarıdaki şekilde ftp ye sitemap.xml dosyamı sıkıştırıp kaydediyordum hostgatorda hostta sorunsuz çalışıyordu ama şuanki hostta çalışmıyor sunucuda hangi özelliği aktif etmemiz gerek bilen arkadaş varsa yardımcı olursa sevinirim... şuan dosyayı çalıştırdığım zaman aldığım hata ise aşağıdadır...

Fatal error:  Call to undefined function: gzdecode() in /home/web/public_html/gzip.php on line 5