PHP Cut unknown file extensions
<p>I need help about file manipulation in PHP.
I have 4 file with known names and UNKNOWN extensions. 
Like that:</p>

<pre><code>Y923BBBB.E120506
Y924BBBB.E120606
Y925BBBB.E120706
Y926BBBB.E120806
</code></pre>

<p>and the file extensions changes everyday.
How i can cut or strip for every file the file extension, so that will stay only the names like that:</p>

<pre><code>Y923BBBB
Y924BBBB
Y925BBBB
Y926BBBB
</code></pre>

<p>Anybody an idea?</p>
