I need to do something that in theory sounds very easy but i've been running into alot of issues to get it done correctly.
There's a layer of complexity added because i'm running a custom frauddetection script but that shouldn't have any impact on this.
Basically, I need my PHP code to do the following
-Load Page 1 (through Include() so the URL doesn't change) -Show that page for 5 seconds -Stop showing Page 1, and instead show Page 2 (using an Include() again so the URl stays the same)
Any ideas?
Closest i've gotten is this:
<?php
ob_start();
include ("1b.html");
ob_clean();
sleep(5);
include ("1c.html");
?>
But it just displays nothing for 5 seconds, as if the page is still loading, and then just shows 1c without ever showing 1b for 5 seconds.
</div>