<?php $name='/home/a/akatava/public_html/tmp/order_777777.xls'; $fileName = basename($name); $newName = str_replace($fileName, '', $name); echo $newName.PHP_EOL.$fileName;
You have javascript disabled. You will not be able to edit any code.