title: How to create multiple files with different names and in different folders? php
body: <p>So, I have a .txt file with paths of my missing files. I want to write a little php script, that will just create those files and leave them blank. </p>
  
  <pre><code>xxx/yyy/xyxy/a/w/r/obvestilo.pdf
  xxx/yyy/xyxy/b/print.pdf
  xxx/yyy/xyxy/c/speach.doc
  </code></pre>
  
  <p>This is an example of how I have things in my .txt file of missing files. I would like the script to create me those files and also folders if they don't yet exist, but I have no clue where to begin. I was thinking to transfer that .txt file to an Array and then loop throug all array elements creating them.</p>