How to list files and folder in a dir (PHP)
<p>Hi I am trying to show all files and folders in a dir with php </p>

<p>e.g</p>

<p>Dir: <strong>system/infomation/</strong></p>

<p><strong>Folder</strong> - User</p>

<p><strong>Files From User</strong> - User1.txt</p>

<p><strong>Files From User</strong> - User2.txt</p>

<p><strong>Files From User</strong> - User3.txt</p>

<p><strong>Files From User</strong> - User4.txt</p>

<p>Folder - <strong>Players</strong></p>

<p><strong>Files From Players</strong> - Player1.txt</p>

<p><strong>Files From Players</strong> - Player2.txt</p>

<p><strong>Files From Players</strong> - Player3.txt</p>

<p><strong>Files From Players</strong> - Player4.txt</p>

<p>Can someone lead me down the right street please</p>

<p>Thank You</p>
