So I\'m trying to curl this URL:
http://images.fastcompany.com/upload/Screen shot 2011-04-28 at 8.13.21 PM.png
URL Encoded it reads as:
http%3
Use the str_replace(); function. Replace your " " with "%20"
str_replace();
" "
"%20"