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 
[EMAIL PROTECTED]

I have tried passthru(), system(), exec() and none seem to work. I also tried 
the backtick and that never worked. Any ideas anyone?

Adrian

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to