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.
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
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
HI
I wrote a basic script that takes the input of a textfield and passes it
onto the system() function and then echo's the result, somethinglike this:
The $command is sent from the previous page via text field.
Whe I test this and do something like " ping 192.168.0.2", the page
keeps on grow
4 matches
Mail list logo