title: Ajax - create folder
body: <p>i am using the following <code>php</code> code to create a folder and a sub folder on <code>xampp</code> server...</p>
  
  <pre><code>&lt;?php  
  $userFolder = "poop";
  mkdir($userFolder); 
  $newfolder = $userFolder . "/bla bla bla"; 
  mkdir($newfolder, 0777); 
  // check to see if it has been created or not using is_dir 
  if (is_dir($newfolder)) { 
      echo "The $newfolder directory has been created&lt;br /&gt;&lt;br /&gt;";     
  }  
  
  ?&gt;
  </code></pre>
  
  <p>my question is how do i use ajax to do this..... any help would be appreciated... :) thanks in advance... :)</p>