PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
A header location with a time set in seconds before the page redirects. The browser obviously receives the commend via headers and does not redirect the page for X number of seconds.
JAB Creations wrote:A header location with a time set in seconds before the page redirects. The browser obviously receives the commend via headers and does not redirect the page for X number of seconds.
Read my first post, and/or give us an example of a website which already does this.
How does it obviously get it via headers? If there is a delay there has to be something sent, and then a wait. This is done on the forum here, when you post messages via meta-refresh.
I don't recall where I got it from but the code looked like that. I used Advanced Find & Replace to look through all the files in my web folder to see if I had a copy of it with the timer though I couldn't find it. I remember using it though at one point.
I was only asking because the behavior of the header() function does not work the way your example works. If the syntax is as you say it was then I would guess that there was another function taking the params and doing something with them.