[PHP] Execute a script from command line on a Linux system with Plesk (safe mode)

2008-01-05 Thread Leonidas Safran
Hello, I am trying to execute this script (from command line): function getMailboxSize($domain, $mailbox){ // Maildirectories are stored under /var/qmail(mailnames/domain/mailuser $path = /var/qmail/mailnames/ . $domain . / . $mailbox; $size = shell_exec(cd . $path . ;du -bc * | grep total |

[PHP] Execute a script from command line on a Linux system with Plesk (safe mode) [solved]

2008-01-05 Thread Leonidas Safran
Hello, I found it myself... I just start php in command line with --php-ini other_php.ini where I set safe_mode Off. Bye :) -- GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail -- PHP General Mailing List