vladimirs Posted December 16, 2005 Report Share Posted December 16, 2005 lai refreshotu lapu, gribu izmantot <? header('Location: index.php'); ?> bet nestraadaa.. ja ierakstu citu failu/aadresi tad darbojas. domaju varbut nevar ar sho noradit esosho lapu? un vai var shitai rindinjai pierakstit laiku pec kada izpildaas? Link to comment Share on other sites More sharing options...
php_Stopp Posted December 16, 2005 Report Share Posted December 16, 2005 kā tu domā refreshot ar headeri ? :D headeris tak redirektē momentāli, un, ja tu uzliec to pašu lapu, tad pēc 10 (vai cik tur) redirektiem viņš apstājas. izmanto meta refresh tagu un headerus ar cache control par to laiku - vari pielikt sleep, tad viņš x sekundes domās un pēc tam redirektēs ;) Link to comment Share on other sites More sharing options...
vladimirs Posted December 16, 2005 Author Report Share Posted December 16, 2005 (edited) tu jau gudrs neesi ja saki ka to nevar ar headeri peec laika. <?php header( 'refresh: 3; url=www.suuds.lv' ); ?> viss iet. kaa redzi. Edited December 16, 2005 by vladimirs Link to comment Share on other sites More sharing options...
php_Stopp Posted December 16, 2005 Report Share Posted December 16, 2005 nu ta ko tu jautā ? :P nu jā, šito nezināju Link to comment Share on other sites More sharing options...
vladimirs Posted December 16, 2005 Author Report Share Posted December 16, 2005 (edited) es atradu tikko! neieshu jau paljauties tikai uz to ka kaads man saciis priekshaa. arii pirms prasiju mekleeju, bet neatradu un tapee prasiju. peecaak uz cuuku uzgaaju shito. Edited December 16, 2005 by vladimirs Link to comment Share on other sites More sharing options...
Recommended Posts