<?php echo parse_url('http://www.example.com/path/to/file.ext?with¶m=value', PHP_URL_PATH);
You have javascript disabled. You will not be able to edit any code.