Tarih: 2006-10-12, 13:33:45 Mesaj konusu: sitemin dakikada bir kendini yenilemesi için ne yapmalıyım
bana bu konuda yardımcı olursanız minettar kalırım bu aşağıdaki kodu kullanmamı istediler kullandım ama olmadı sayfa yenilenmedi şu andada yüklü duruyor ama çalışmıyor ben ise sitemin dakikada bir yenilenmesini istiyorum teşekkürler
<script type="text/j a v a s c r i p t">
<!-- Begin
function reFresh() {
self.location.refresh()
}
window.setInterval("reFresh()",300000);
// End -->
</script>
Tarih: 2006-10-13, 18:33:57 Mesaj konusu: Re: sitemin dakikada bir kendini yenilemesi için ne yapmalıy
evet 5 dk ve daha fazla bekleedim ama yine olmadı
Şu Şekilde Yapılı Şu Anda Doğrumu Acaba?
<!-- Begin
function reFresh() {
self.location.refresh()
}
window.setInterval("reFresh()",300000);
// End -->
</script>
<?php
/************************************************************************/
/* PHP-NUKE: Web Portal System */
/* =========================== */
/* */
/* Copyright (c) 2005 by Francisco Burzi */
/* http://phpnuke.org */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/
if (eregi("m e t a.php",$_SERVER['PHP_SELF'])) {
Header("Location: ../index.php");
die();
}
##################################################
# Include for m e t a Tags generation #
##################################################
echo "<m e t a HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset="._CHARSET."\">\n";
echo "<m e t a HTTP-EQUIV=\"EXPIRES\" CONTENT=\"0\">\n";
echo "<m e t a NAME=\"RESOURCE-TYPE\" CONTENT=\"DOCUMENT\">\n";
echo "<m e t a NAME=\"DISTRIBUTION\" CONTENT=\"GLOBAL\">\n";
echo "<m e t a NAME=\"AUTHOR\" CONTENT=\"$sitename\">\n";
echo "<m e t a NAME=\"COPYRIGHT\" CONTENT=\"Copyright (c) by $sitename\">\n";
echo "<m e t a NAME=\"KEYWORDS\" CONTENT=\"News, news, New, new, Technology, technology, Headlines, headlines, Nuke, nuke, PHP-Nuke, phpnuke, php-nuke, Geek, geek, Geeks, geeks, Hacker, hacker, Hackers, hackers, Linux, linux, Windows, windows, Software, software, Download, download, Downloads, downloads, Free, FREE, free, Community, community, MP3, mp3, Forum, forum, Forums, forums, Bulletin, bulletin, Board, board, Boards, boards, PHP, php, Survey, survey, Kernel, kernel, Comment, comment, Comments, comments, Portal, portal, ODP, odp, Open, open, Open Source, OpenSource, Opensource, opensource, open source, Free Software, FreeSoftware, Freesoftware, free software, GNU, gnu, GPL, gpl, License, license, Unix, UNIX, *nix, unix, MySQL, mysql, SQL, sql, Database, DataBase, Blogs, blogs, Blog, blog, database, Mandrake, mandrake, Red Hat, RedHat, red hat, Slackware, slackware, SUSE, SuSE, suse, Debian, debian, Gnome, GNOME, gnome, Kde, KDE, kde, Enlightenment, enlightenment, Interactive, interactive, Programming, programming, Extreme, extreme, Game, game, Games, games, Web Site, web site, Weblog, WebLog, weblog, Guru, GURU, guru, Oracle, oracle, db2, DB2, odbc, ODBC, plugin, plugins, Plugin, Plugins\">\n";
echo "<m e t a NAME=\"DEscriptION\" CONTENT=\"$slogan\">\n";
echo "<m e t a NAME=\"ROBOTS\" CONTENT=\"INDEX, FOLLOW\">\n";
echo "<m e t a NAME=\"REVISIT-AFTER\" CONTENT=\"1 DAYS\">\n";
echo "<m e t a NAME=\"RATING\" CONTENT=\"GENERAL\">\n";
###############################################
# DO NOT REMOVE THE FOLLOWING COPYRIGHT LINE! #
# YOU'RE NOT ALLOWED TO REMOVE NOR EDIT THIS. #
###############################################
// IF YOU REALLY NEED TO REMOVE IT AND HAVE MY WRITTEN AUTHORIZATION CHECK: http://phpnuke.org/modules.php?name=Commercial_License
// PLAY FAIR AND SUPPORT THE DEVELOPMENT, PLEASE!
global $commercial_license;
if ($commercial_license != 1) {
echo "<m e t a NAME=\"GENERATOR\" CONTENT=\"PHP-Nuke Copyright (c) 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL (http://phpnuke.org/files/gpl.txt). PHP-Nuke comes with absolutely no warranty, for details, see the license (http://phpnuke.org/files/gpl.txt).\">\n";
}
Kısa çözü olarak iki tane m e t a.php ve header.php yaparsın. Sohbetin sayfalarına ilindi header.phpyi include edersin. İkinci m e t a.phpnin içine yenileme kodunu atma. ikinci header.php ye de ikinci m e t a.phpyi include et.
Bu forumda yeni başlıklar açamazsınız Bu forumdaki başlıklara cevap veremezsiniz Bu forumdaki mesajlarınızı değiştiremezsiniz Bu forumdaki mesajlarınızı silemezsiniz Bu forumdaki anketlerde oy kullanamazsınız