Skip to content

Instantly share code, notes, and snippets.

@putzflorian
Created June 18, 2013 15:05
Show Gist options
  • Select an option

  • Save putzflorian/5806142 to your computer and use it in GitHub Desktop.

Select an option

Save putzflorian/5806142 to your computer and use it in GitHub Desktop.
<?
$url = "http://clients.intermaps.com/admin/imgupload/11526_20130131153359_hoehenweg_etappe 6 (11).jpg";
$url = explode('/', $url);
$base = array_pop($url);
$url = implode('/', $url) . '/' . rawurlencode($base);
Pimcore_Tool::getHttpData($url);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment