ExTent Posted October 16, 2008 Report Share Posted October 16, 2008 Tātad jautajums. Kā būtu skripts, atverot weblapu, tā automātiski pārmet uz kādu ctu lapu pēc kādām 2 sec. Link to comment Share on other sites More sharing options...
Norek Posted October 16, 2008 Report Share Posted October 16, 2008 PHP <? header ("Location: http://www.tvnet.lv"); exit; ?> Link to comment Share on other sites More sharing options...
worm Posted October 16, 2008 Report Share Posted October 16, 2008 n0r3k... you FAIL header() redirektēs uzreiz, čalis prasīja pēc 2 sekundēm... pareizi ir ielikt html kodā starp <head></head> šo rindu: <meta http-equiv="refresh" content="2;url=http://www.xxx.com/"/> Link to comment Share on other sites More sharing options...
X ID Posted October 17, 2008 Report Share Posted October 17, 2008 n0r3k piemērā jā, bet vispār PHP <? header ("Refresh: 2; url=http://www.xxx.com/"); ?> Link to comment Share on other sites More sharing options...
ExTent Posted October 17, 2008 Author Report Share Posted October 17, 2008 Liels paldies worm Link to comment Share on other sites More sharing options...
NeoX Posted October 18, 2008 Report Share Posted October 18, 2008 Jā, noteikti tu esi atstājis aurtiesības, skatīti. Link to comment Share on other sites More sharing options...
ExTent Posted October 18, 2008 Author Report Share Posted October 18, 2008 (edited) Viss info. nav jau rakstīts ka nevar kopēt. prieks manis jau to iedeva Edited October 18, 2008 by ExTent Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now