On Wed, 20 Feb 2008, Mário Gamito wrote:
Hi,
I need to run an eternal command from a PHP page.
My code is:
"
$username= 'lixo';
$username = 'lixo';
exec('su - vpopmail -c
"/var/qmail/bin/maildirmake/home/vpopmail/domains/wwlib.lan/" . $username');
"
try:
exec('su - vpopmail -c "/var/qmail/bin/maildirmake/home/vpopmail/domains/wwlib.lan/"'.$username);
But I get the error:
"/var/qmail/bin/maildirmake/home/vpopmail/domains/wwlib.lan/: Not a
directory"
Which means that the $username variable isn't being appended to the string.
Any help would be appreciated.
Warm Regards,
Mário Gamito
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php