basic question in foreach in php
<p>basically if I have a string like this:</p>

<p>$str = \data1\data2\data3\data_tmp\file.pgp</p>

<p>can anyone tell me how to get the last part 'file.pgp'?</p>

<p>TIA.</p>
