Add an email account using php Ensim

Hi to everybody!

I'm trying to add an email account using a php scritp.
In ensim there is this command: AddVirtUser
My php script is:

PHP Code:
<?php
$comando_AddVirtUser
='AddVirtUser tpasswd=PaSsWoRd ViRtuAlDoMaIn.com UsErNaMe "FuLl UsErNaMe" 1 telnet=0 ssh=0 proftpd=0';
shell_exec($comando_AddVirtUser);
?>
The problem is that the shell_exec() function is disabled.
The safe_mode is set to OFF but probably the function was disabled by safe_mode_allowed_env_vars or safe_mode_protected_env_vars.

Now, how can I enable shell_exec() function ONLY for this site?

Many thanks!
Alessio

 

 

 

 

Top