Hi, i am trying to use
mkdir command. i am trying to create a folder under /var/www/html/some-appication . i get permission error. i need to create a folder in some-application folder . what steps do i need to take before doing it.
here is the command i am using
$structure = '/var/www/html/'.$patientId;
if(!is_dir($structure))
{
if (!mkdir($structure, 0777, true))
{
die('Failed to create folders...');
}
}