This is a discussion on PHP - function within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Hello Which function in PHP should I use to execute unix command. For example I'd like to execute from ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
exec() or system()
See http://www.php.net/docs.php for details info "Pawel" <pawelot@tenbit.pl> wrote in message news:c1fk0k$l3c$1@nemesis.news.tpi.pl... > Hello > > Which function in PHP should I use to execute unix command. For example I'd > like to execute from PHP script command: /usr/bin/ps. > > Please help me > > -- > > Pawel > > |
|
|||
|
On Tue, 24 Feb 2004 14:35:26 +0100, "Pawel" <pawelot@tenbit.pl> wrote:
>Hello > >Which function in PHP should I use to execute unix command. For example I'd >like to execute from PHP script command: /usr/bin/ps. > >Please help me See: http://www.php.net/manual/en/function.system.php Also look at exec and passthru. |