Boşluk varsa %20yi tarayıcı kendisi koyuyor zaten. Str_replace komutuyla düzeltebilirsin. PHP: Hypertext Preprocessor tte arat