[PHP-DEV] FW: [PHP-DEV] System call From: Rafael Ernesto Bastidas L. (reb <email protected>)
Date: 05/15/00

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 <email protected>]
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 <email protected> [mailto:jon <email protected>]On Behalf Of Jon
Parise
Sent: Monday, May 15, 2000 10:03 AM
To: php-dev <email protected>
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 <email protected>)  .  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 <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>