hocam pardon özür olsun
sitemap.php?top=0
sitemap.php?top=1
sitemap.php?top=2
gibi cagiracaksiniz
Otomatik Sayfalama Yapmak ?
11
●2.056
- 24-04-2009, 15:23:40Üyeliği durduruldu
- 24-04-2009, 15:25:07
<?php include("inc/includes.php"); header("Content-type: text/xml"); $xml_ciktisi="<?xml version=\"1.0\" encoding=\"windows-1254\"?> <urlset xmlns=\"http://www.google.com/schemas/sitemap/0.84\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.google.com/schemas/sitemap/0.84 http://www.google.com/schemas/sitemap/0.84/sitemap.xsd\">\n"; $pg = $_GET['p']; if ((empty($pg)) || (!is_numeric($pg))) { $pg = "1"; } $kacar = "30000"; $basla = ($pg * $kacar) - $kacar; $ktag=mysql_query("select * from etiketler order by id LIMIT $basla,$kacar"); while($als=mysql_fetch_array($ktag)){ $tek=$als['etiket']; $tlink = seo($tek); $xml_ciktisi .= " <url> <loc>http://www.exceLLency.com/$tlink.html</loc> </url>"; }; $xml_ciktisi .= "</urlset>"; echo $xml_ciktisi ; ?>bu şekilde dene
site.com/sitemap.php?p=1
site.com/sitemap.php?p=2
site.com/sitemap.php?p=3 - 24-04-2009, 15:35:54Bu şekilde oldu, bir kaç ufak hata var onlarıda ben gidericem , yardımcı olan arkadaşlara teşekkür ederim

LaCReMeL adlı üyeden alıntı: mesajı görüntüle
