<?php
$url = 'http://w...content-available-to-author-only...e.com/files/2012/10/image001.png';
echo 'URL Parts:' . PHP_EOL;
echo PHP_EOL . 'And specific to path:' . PHP_EOL;
PD9waHAKCiAgJHVybCA9ICdodHRwOi8vdy4uLmNvbnRlbnQtYXZhaWxhYmxlLXRvLWF1dGhvci1vbmx5Li4uZS5jb20vZmlsZXMvMjAxMi8xMC9pbWFnZTAwMS5wbmcnOwoKICBlY2hvICdVUkwgUGFydHM6JyAuIFBIUF9FT0w7CiAgdmFyX2R1bXAocGFyc2VfdXJsKCR1cmwpKTsKCiAgZWNobyBQSFBfRU9MIC4gJ0FuZCBzcGVjaWZpYyB0byBwYXRoOicgLiBQSFBfRU9MOwogIGVjaG8gcGFyc2VfdXJsKCR1cmwsIFBIUF9VUkxfUEFUSCk7