Ok, my system() call just stopped working on code that was working before.
I did just update my apache, so I don't know if something was changed in my php.ini file or what.
Is there a specific setting that I should set when using the system() function?
Here is my code:
system('mkdir ' .escapeshellarg ("/home/path/public_html/$web_username"), $B);
$b just gets set to 1 right away?
I've also tried it as:
system("mkdir \"/home/wedding/public_html/$web_username\" ");
and
system("mkdir /home/path/public_html/$web_username");
And i have even tried the shell_exec() command:
shell_exec('mkdir /home/wedding/public_html/$web_username');
none of them will create the directory...WTF?
this is kind of urgent as it is on a live site....and anytime someone buys an account, it doesn't create the directory...