title: Create folders outside my root folder in server. PHP
body: <p>So I have a php file name NewUser.php inside a folder called "UserActions".</p>
  
  <p>"UserActions" is inside a folder call "General Elements"
  NewUser.php inserts in a database the user data, now here is my problem I need that the user image when is uploaded is saved on the folder User Images, which is outside the root file of its php.</p>
  
  <p>Im using mkdir() but I dont know how to acces the folder UserImages.</p>
  
  <pre><code>0. General Elements
    0.0 UserActions     
       0.0.0 NewUser.php  //MkDir() function
    0.1 UserImages        //I need to create a folder here and save here the images.
        0.1.0 User_0
           0.1.0.0 MainImage.jpg
           0.1.0.1 MainBackground.jpg
        0.1 User_1
           0.1.1.0 MainImage.jpg
           0.1.1.1 MainBackground.jpg
  </code></pre>