note 29978 deleted from function.system by victor

From: Date: Mon, 03 Mar 2003 08:08:34 +0000
Subject: note 29978 deleted from function.system by victor
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-44760@lists.php.net to get a copy of this message
I have a question. I am new to php, but know how to program C based languages. I have a question on the system call. The code I am using is: <? system("snortsnarf"); ?> Now, when I run from the command line (This is a Linux system running apache) and type php test.php the code works as expected. When I try to access it from the web, nothing happens, the script snortsnarf does not get executed. Does anyone know why? The script is located in my /usr/sbin/ dircetory. Any help is appreciated.

« previous php.notes (#44760) next »