Re: Questions over questions

From: John Downey (blah_at_doesntexist.com)
Date: 10/13/03


Date: Mon, 13 Oct 2003 11:16:27 GMT

Kevin Thorpe wrote:
>> If you were hosting your account on one of my servers and I found you
>> defeating the 30 second limit I'd be terminating your account as I'd deem
>> that you'd broken the Acceptable User Policy. The 30 second time limit
>> is to
>> stop errant scripts running indefinitely and consuming resources
>> needlessly
>> for the disbenefit of other users. If you get into the habit of
>> turning this
>> time limit off you'll eventually create one of these scripts. I don't
>> think
>> it's good programming practice to leave a user with a script running
>> with no
>> indication that it's working. This is why we normally segment long
>> processes
>> into smaller chunks and why things like progress bars were invented.
>
>
> This begs the question.....
>
> How do you run a php process off-line?
>
> I've built a small perl daemon (php too old) which runs php jobs
> off-line. Communication is all via a mySQL table and I have a 'job
> queue' webpage to keep an eye on how things are going.
>
> I would really like to be able to spawn offline jobs from a web page
> though. Something like....
> click the link to get your report...
> up pops a small browser window with a progress bar
> when the progress bar completes the window reloads
> with the report
> ... but short of being able to fragment the report build process I can't
> think how to do it.
>
Perhaps some nice javascript and flush() if used right.



Relevant Pages

  • Re: Questions over questions
    ... > defeating the 30 second limit I'd be terminating your account as I'd deem ... I've built a small perl daemon (php too old) which runs php jobs ... I would really like to be able to spawn offline jobs from a web page ...
    (comp.lang.php)
  • Xerox DocuTech problems
    ... Kudos to Xerox for setting a new standard of incompetence. ... The Scanner is controlled by an Intel box ... The scanner sends jobs via ftp to the printer. ... The NT box Administrator account password is "administ" and is ...
    (Vuln-Dev)
  • Xerox DocuTech problems
    ... Kudos to Xerox for setting a new standard of incompetence. ... The Scanner is controlled by an Intel box ... The scanner sends jobs via ftp to the printer. ... The NT box Administrator account password is "administ" and is ...
    (Bugtraq)
  • Re: [PHP] RE:[PHP] Client Computer Registration
    ... Council) to increase security... ... access the account using that computer. ... Can PHP record the MAC Address of the NIC in the computer? ...
    (php.general)
  • PHPX 2.x - 3.2.4
    ... Ability to steal another users account ... The Proof of Concept [PHP Code] ... The first allows the theft of any account. ... The proof of concept is coded in PHP, and allows someone to gain access to the PHPX admin panel: ...
    (Bugtraq)