Curlys wrote:
hi ,
when run this script from the command prompt, it is working.
<?php
shell_exec ('killall -HUP abc.pl');
?>
<html>
<body> Terminated the application ...........!!!! </body>
</html>
but , when it is put this file in a apache web server run via web browser
( accessing a URL with a Link ) it doesn't work . what should i have to do ?
thanx
curlys
Could be several things, the most likely being that the process is owned
by a user other than nobody other possibilities include the fact that
you may be running in safe mode. You might want to look at sudo or
suexec mechanisms as a solution. An alternative approach was suggested
yesterday to a similar problem that involved cron jobs by another poster.
--
Raditha Dissanayake.
------------------------------------------------------------------------
http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 128 KB | with progress bar.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php