Redirect with Timer in PHP?

前端 未结 11 2066
刺人心
刺人心 2020-12-28 11:49

How can I make a redirect with PHP after say 10 seconds...

I have read alot about it, seems like it would be better with javascript. But PHP would save me alot of co

11条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-28 12:33

    PHP is the probably wrong technology for this as it runs server-side and won't provide useful feedback to the user during the delay.

    This isn't a lot of coding in Javascript. See this link for a very easy way to implement this on your page

提交回复
热议问题