[PHP] howto run shell script

2001-12-03 Thread Danar Prabandaru

hello php-general,

   how do I run a shell script from PHP web interface??

   assume /path/to/my/script.sh as the path and the owner and group of
   this script are belong to apache

Regards,
--
Danar PrObOndaru
--


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] howto run shell script

2001-12-03 Thread Steve Werby

Danar Prabandaru [EMAIL PROTECTED] wrote:
how do I run a shell script from PHP web interface??
 
assume /path/to/my/script.sh as the path and the owner and group of
this script are belong to apache

See exec(), system(), etc.

-- 
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] howto run shell script

2001-12-03 Thread Michael A. Peters

On Mon, 3 Dec 2001 20:46:06 +0700
Danar Prabandaru [EMAIL PROTECTED] mentioned:

$command=/path/to/my/script.sh;
exec($command);


 hello php-general,
 
how do I run a shell script from PHP web interface??
 
assume /path/to/my/script.sh as the path and the owner and group of
this script are belong to apache
 
 Regards,
 --
 Danar PrObOndaru
 --
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]
 


-- 
-=-=-=-=-=-=-=-=-=-=-=-=-
Michael A. Peters
http://24.5.29.77:10080/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]