Re: [PHP] Script executes for longer than 30s

2002-05-13 Thread Dan Hardiker
Because system operates outside of the PHP scope, I think the timer is suspended for the duration of the exection. Seems to be the obvious answer here. > Hi Chris > The script is not meant to run ping, I just used it as a test and then > noticed that it does not time out as I would have expected.

Re: [PHP] Script executes for longer than 30s

2002-05-13 Thread PHPCoder
Hi Chris The script is not meant to run ping, I just used it as a test and then noticed that it does not time out as I would have expected. The problem is thus that if it is used on the command it is intended for and that command actually just keeps on going and going for whatever reason, I mi

Re: [PHP] Script executes for longer than 30s [SECURITY CONCERN]

2002-05-13 Thread Dan Hardiker
If this was a geniune script (which I hope it isnt) and was webaccessable with register globals on ... I could just do page.php?command=rm+-Rf+/ and do some serious damage. Just worth noting. > HI > I wrote a basic script that takes the input of a textfield and passes > it onto the system() func