<?php $path = "/foo/bar?zot=fot"; var_dump(parse_url($path));
You have javascript disabled. You will not be able to edit any code.