2011-03-27 4 views

답변

0

:

setTimeout(function(){ window.location = 'example.com' },10800) 

우리는 3 시간 반 정도에 타는 방법을 알려 주시기 ...

0

당신은 PHP header() 기능 사이에 혼동 왔 및 HTML HEAD 섹션

PHP의 header('Location: newpage.htm');newpage.htm에 순시 리디렉션을 수행한다 (직접 die()를 호출 할 필요). 리디렉션을 지연시킬 가능성은 없습니다.

<!-- Refresh the Current Page every 10 minutes (600 seconds) //--> 
<meta http-equiv="refresh" content="600"> 

<!-- Redirect to Another Page with a Delay of 10 minutes (600 seconds) //--> 
<meta http-equiv="refresh" content="600;url=http://anotherserver.com/"> 
다음 HTML <head> ... </head> 섹션에

, 당신은 지연 새로 고침 또는 리디렉션을 수행하는 META 태그를 사용할 수 있습니다

관련 문제