FW: [PHP-DEV] System call
| From: | Rafael Ernesto Bastidas L. | Date: | Tue, 16 May 2000 03:22:36 +0000 |
| Subject: | FW: [PHP-DEV] System call | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-18767@lists.php.net to get a copy of this message | ||
Do I need to change the rights of the command? I don't think so
Rafael
-----Original Message-----
From: Rafael Ernesto Bastidas L. [mailto:reb@wd3.com]
Sent: Monday, May 15, 2000 10:57 PM
To: Php-Dev
Subject: RE: [PHP-DEV] System call
ok, I tried it but it didnt work, the return value is always false. could
you plese send me some examples? I want to run a program on background, what
unix command should I use, nohup?
here's the line I wrote:
exec ("nohup /usr/local/games/q3a/linuxq3ded +set dedicated = 0 +exec
serveralone.cfg&",$cadena,$listo);
Thanks in advance for your help
Rafael
-----Original Message-----
From: jon@mail.csh.rit.edu [mailto:jon@mail.csh.rit.edu]On Behalf Of Jon
Parise
Sent: Monday, May 15, 2000 10:03 AM
To: php-dev@lists.php.net
Subject: Re: [PHP-DEV] System call
On Mon, May 15, 2000 at 08:49:34PM -0400, Rafael Ernesto Bastidas L. wrote:
> Is there a way to execute a command on the server machine using
> php3?
http://www.php.net/manual/function.system.php3
--
Jon Parise (jon@csh.rit.edu) . Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/ : Computer Science House
Member
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
For additional commands, e-mail: php-dev-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net