Jump to content

rum php script in the background


poe

Recommended Posts

i have about 5-6 scripts that update my database once i get a pagehit at my website.

ie. updateGoalies.php, then it redirects to updateForwards.php, then redirects itself to updateTeams.php etc...

how do i run these scripts in the 'background' as someone is viewing my site?

i dont need them to have to watch all these update pages go through their cycle.
Link to comment
https://forums.phpfreaks.com/topic/28475-rum-php-script-in-the-background/
Share on other sites

You have to do:
[code]<?php
$updatewhat = "whateverpage";
$stats = "fullseason";
include('update.php');
?>[/code]

It is not possible to include files with the ?var=var - as PHP will look for the file update.php?updatewhat=what&stats=fullseason in the directory ;)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.