How to use a variable correctly through GET?
<p>How can I correctly pass a variable to the path?
<strong>photos.php?fname=MARERINA</strong></p>

<pre><code>&lt;?php
foreach(glob('.$_GET["fname"]./*.*') as $filename){
     echo $filename;
 }
?&gt;
</code></pre>
