PDA

View Full Version : HEEEEELP::PHP: executing an external script?



astrosoft
March 29th, 2008, 07:58 AM
Hi guys!
Does anyone know how to execute

killall -v pppd

via PHP?

I've tried everything and have a feeling that I simply can't through ubuntu's permissions...

Thx.

kidders
March 30th, 2008, 12:00 PM
Hi there,


echo `killall -v pppd`;

Permissions only become an issue if something other than your web server started the processes you want to terminate ... the same rule that would apply to you if you ran the command yourself.