HTML5 MP3 Player with Playlist
  • Home
  • About Us
    • Developers
    • Testimonials
  • FAQ
  • Pricing
    • Cart
    • Shop
    • My Account
    • Track Order
  • Products
    • HTML5 Video Player with Playlist
    • Pay Per Plugin for HTML5 Media
    • HTML5 MP3 Radio FM Stream
    • HTML5 MP3 WordPress Plugins
      • Vertical Playlist
      • Horizontal Playlist
      • Downloadable Playlist Option
    • HTML5 MP3 Joomla Plugin
    • Footer Stick HTML5 Playlist
    • Karaoke – HTML5 MP3 Player with Lyrics
    • HTML5 MP3 Player for Feedburner Podcast
    • Jinzora HTML5 MP3 Popup Player
  • Portfolio
    • Get Widget
    • Shortcodes
    • HTML5 MP3 Player on Facebook Page
    • iOS, iPhone and iPad Support
    • Android Compatible
  • Contact Us

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



<?php

$s = ‘http://www.domain.com/songs/4 THE SICK – 13 – Because Of U featuring Evan Eleazer.mp3′;

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

// OR

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

echo $s;

?>

 

Output: http://www.domain.com/songs/4%20THE%20SICK%20-%2013%20-%20Because%20Of%20U%20featuring%20Evan%20Eleazer.mp3

Posted in: HTML5, Joomla, WordPress

 

Categories:

  • Basic Website
  • iOS

View more:

  • Shortcodes
  • HTML5 MP3 Joomla Plugin
  • Portfolio

What we do

  • Interactive Technology
  • Online Marketing
  • Website Design
  • Radio Server
  • E-Learning

Who We Are

  • About us
  • Other Services
  • Vision that drives us
  • Terms & Conditions

Featured work

  • Mobile Web App
  • Footer Stick Player
  • Radio FM Gallery
  • Wordpress Plugin
  • Joomla Plugin
  • Red5 Plugin

From our Blog

  • Pay Per Listen for Joomla
  • Remote Secure Token
  • iPad compatible scrollable playlist
  • Record Audio from Websites
  • SHOUTCast Radio Stream
  • AWS CloudFront with PHP
  • Live Broadcast in Joomla
Twitter Facebook Flickr RSS Feed

© 2012 SVN Labs Softwares