title: glob() return in an empty array
body: <p>Im trying to set a array containing all the image files in a directory, ive got my index.php set up in the same directory as the images. The code im using is </p>
  
  <pre><code>$images = glob("*.jpg, *jpeg, *.png, *.gif");
  
  var_dump($images);
  </code></pre>
  
  <p>which returns - <code>array(0) { }</code> in the browser.. any idea what im doing wrong ?</p>
  
  <p>sorry if this is such an obvious question im still very green to php</p>