in reply to Re: Re: executing other scripts while printing a webpage
in thread executing other scripts while printing a webpage
Remember that, unless you're using an SUID script, the "update_script" will be run as your Web user, which is traditionally 'nobody'. Make sure that this user has all the required privileges to update your files, or that the SUID user does.if (file_is_too_old()) { unless (fork()) { exec ("update_script"); } }
|
---|