How to replace spaces with %20 in playlist for MP3 link?


$s = ‘ THE SICK – 13 – Because Of U featuring Evan Eleazer.mp3’;

$s = str_replace(” “, “%20”, $s);

// OR

$s = preg_replace(‘/ /i’, ‘%20’, $s);

echo $s;




Posted in: HTML5, Joomla, WordPress

About Us

We are one of the leading provider for HTML5 MP3/MP4 Horizontal Playlist, Vertical Playlist, Karaoke, Lyrics, FeedBurner Podcast, Amazon S3, AWS CloudFront, CDN, Wordpress, Joomla, Standalone, Video, Radio, Folder Player.

Connect With Us