'can you use a delay of less than a second on header("refresh:...") with PHP?
I know you can refresh the page instantly in PHP using header("refresh: 0;");
You can also put your own delay, i.e. 3 seconds like this header("refresh: 3;");
My question is, is it possible to put a delay of less than one second, i.e. one tenth of second? header("refresh: 0.1;");
Solution 1:[1]
Tried it and it works
For example: header("refresh: 0.25;"); header("refresh: 0.1;"); header("refresh: 0.75;"); header("refresh: 0.5;"); all seem to work.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Vincent Cerowski |
