Hi,
> <?
> $username = "lixo";
> exec('su -c - vpopmail "/var/qmail/bin/maildirmake
> /home/vpopmail/domains/wwlib.lan/'.$username.'"',$ret,$err);
> echo "<pre />\n";
> print_r($ret);
> echo "</pre>\n";
> echo isset($err) ? "Error: ".$err : null;
> ?>
No output at all and I have "display_errors = On" in php.ini
Still no directory creation.
If I run the file as user vpopmail it asks me for a password:
# su - vpopmail
$ php /home/www/hash.php
Output:"
[EMAIL PROTECTED] ~]$ php /home/www/hash.php
Password:"
Any ideas ?
Warm Regards,
Mário Gamito
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php