No products in the cart.
Access our premium support and let us know your problems, we will help you solve them.
If you wanna to get file name from url ignoring uri params, you can try this:
$url = 'http://host/filename.ext?params';
$parsedUrl = parse_url($url);
$pathInfo = pathinfo($parsedUrl['path']);
print_r($pathInfo);
Array
(
[dirname] => /
[basename] => filename.ext
[extension] => ext
[filename] => filename
)