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]

Reply via email to