title: Create new php file everytime new user registers
body: <p>How can i make it create new php file automatically everytime new user registers.
  I have tried this code</p>
  
  <pre><code>$way="user/$userName";
  if(!file_exists("$way")){
          mkdir("$way", 0755);
  }
  </code></pre>
  
  <p>But it only creates new folder not file</p>