Execute Shell command?

From: Date: Sun, 01 Apr 2001 14:52:33 +0000
Subject: Execute Shell command?
Groups: php.general 
Request: Send a blank email to php-general+get-46504@lists.php.net to get a copy of this message
Hi, Does anyone know if there is a way to execute a shell command in a php script? I am trying to execute the following: /usr/sbin/cadduser -d www.domain.com -f Adrian -u testing -p testing -q 10 -w kportsmout@aol.com I have tried passthru(), system(), exec() and none seem to work. I also tried the backtick and that never worked. Any ideas anyone? Adrian

« previous php.general (#46504) next »