$newName = $tmpNew['dirname'] . '/[Icon].ico'; rename($pspGame->Path($file), $newName); } } if ($tmpInfo['extension'] == 'jpg' || $tmpInfo['extension'] == 'jpeg' || $tmpInfo['extension'] == 'png') { if ($tmpInfo['filename'] != '[Cover]') { $tmpNew = pathinfo($pspGame->Path($file)); $newName = $tmpNew['dirname'] . '/[Cover].' . $tmpInfo['extension']; rename($pspGame->Path($file), $newName); } } if ($tmpInfo['extension'] == 'ini') { $isSize = filesize($pspGame->Path($file)); } } echo $isSize . '</strong> ' . $pspFolder->UTF($folder) . "<br/>\r\n"; } } else { echo 'Directory Not Found.'; } break; default: include_once '../include/lib/Session.class.php'; $session = new Session(); ?> <title>Change Name ico&cover</title> <style type="text/css"> body { font-family:"Courier New" !important; font-size:14px; } </style> <script> $(function(){