Skip to content

Instantly share code, notes, and snippets.

@rogeriopvl
Created November 6, 2009 15:29
Show Gist options
  • Save rogeriopvl/228045 to your computer and use it in GitHub Desktop.
Save rogeriopvl/228045 to your computer and use it in GitHub Desktop.
$params = is_array($urls) ? 'url='.implode('&url=', array_map('urlencode', $urls)) : 'url='.urlencode($urls);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment