path etc from a full url with PHP