имя.docдва слова.doc <?php $name = '/имя.doc';$long_name = '/два слова.doc';echo basename($name);echo "<br>";echo basename($long_name);echo "<br>";//echo $_SERVER['SERVER_SOFTWARE'];echo '<br>';highlight_file(__FILE__);
<?php $name = '/имя.doc';$long_name = '/два слова.doc';echo basename($name);echo "<br>";echo basename($long_name);echo "<br>";//echo $_SERVER['SERVER_SOFTWARE'];echo '<br>';highlight_file(__FILE__);