I\'d probably figure out a way to do this if I had full access to the server, however the problem is it\'s just a hosting service which leaves me with nothing but FT
Not sure if this is the correct approach, but I used to just trigger a script when the first user visits the site, and then send a to the user for his browser to refresh the page. The original PHP script would still run on the server, but the user will not see it anymore.
Basically, something like:
if( check if the user is the first visitor today ) {
set_time_limit(0);
echo "
0
讨论(0)