PHP Header redirect to Multiple URLs with a time gap

前端 未结 5 1842
北恋
北恋 2020-12-10 23:11

Can i use header() to redirect to multiple URLs with a time gap in between? Suppose i have url1 and url2. Now, what i want is that header first redirects to url1. Then say,a

5条回答
  •  轮回少年
    2020-12-11 00:09

    That is not how it works. The redirect will take you to a new page...and THAT page would then have to do the next redirect. You should do something like:

    PAGE 1:

    
    

    PAGE 2:

    
    
    
    

提交回复
热议问题