title: Image gallery system with search engine using php
body: <p>I am trying to make an image gallery system with keywords. 
  Each image has a <code>.php</code> file with a few variables:</p>
  
  <pre><code>    $keywords = 'Keywords that describe the image';
      $src = 'directory path leading to the image';
      $other = 'any specific remarks about the image'; 
  </code></pre>
  
  <p>the files of each image are stored in a directory called <code>imageinfo</code>. 
  How can I get all the images listed in the files in the directory <code>imageinfo</code> to display in one <code>.php</code>file? They all have the same variable names. Can I make a search engine system to search the files?
  This is very hard to explain, and I understand if you don't understand - feel free to grab a diet coke and come and write your problems in the comments!</p>