title: mkdir() won't create directories
body: <p>I am trying to create directories for better file organization. The front-end for this is a form where a user will input the title, content and the region(dropdown menu). When the user submit the form, the data will be taken to a file named save.php and will be processed. Below are the codes on the save.php file. Actually the main goal for this is to produce an html file and then organize these html files into folders by region. I cant make the mkdir() to work. The message "directory created" is always printed out but there is no actual folder created. What do you think is the problem on my code? What I want to happen is that when the user  clicks on the "submit" button, folders with region names will be created. Please help? Or any suggestion or another way to solve this problem?</p>
  
  <pre><code>$ad_title = $_POST['title'];
  $ad_content = $_POST['content-ads']; 
  $ad_region = $_POST['region']; 
  
  if (!is_dir("uploads/"$ad_region)) {
          // dir doesn't exist, make it
          mkdir("uploads/".$ad_region);
          echo "directory created!";
      }
      else {
          echo "directory already exist!";
      }
  </code></pre>
  
  <p><strong>EDIT:</strong>
  I dont know if this matters but my <strong>save.php</strong> file and the <strong>uploads folders</strong> where the codes above is saved in the local directory</p>
  
  <pre><code>localhost/system/modules/new
  </code></pre>
  
  <p>When I relocated the <strong>save.php</strong> file and the <strong>uploads folder</strong> in the directory</p>
  
  <pre><code>localhost/system/
  </code></pre>
  
  <p>all seems to be working now.But I want it to work in the localhost/system/modules/new directory for better organization. Any help on this? </p>