I have installed an ensim WEBppliance for windows server2003. there is a command "adddomain" which can be executed in command line to create a site on the machine.
I want to create a php procedure to create sites automatically, but when I run the following scripts, errors ocurrs:

<?
exec("adddomain -f"); // or
exec("c:\windows\adddomain.bat -f");
?>

it prompts that "Access is Denied". How can I make this procedure run smoothly? Please help me.

    one thing first

    have you enter a password in the mysql?

      But it doesn't need mysql database, just enter "adddomain" in the command line in "start - run". and i want it to be run in a php script.

        Write a Reply...