hai,
I'm using php in linux environment. In my web application i need to create dynamic directory thru php. I used the following snippset,
<?php
mkdir('directoryname','0777');
?>
But i could not get the result. Since, when i run the web application in mozilla browser, it takes user as apache user not root user.but root user only can create the directory.
How i can change the apache user to root user when i run the web application?
or Is there any alternatives?
Help me.....