limitphp Posted April 21, 2009 Share Posted April 21, 2009 When people talk about encoded mp3 links for flash, or whatever, I assume they are encoding the links to protect their music from being hotlinked or something? http://wpaudioplayer.com/standalone towards the bottom they talk about "indicates that the mp3 file urls are encoded" how do you encode an mp3 link? With php or javascript or something else? thanks Link to comment https://forums.phpfreaks.com/topic/155085-solved-help-with-encoded-links/ Share on other sites More sharing options...
gffg4574fghsDSGDGKJYM Posted April 21, 2009 Share Posted April 21, 2009 I think they talk about urlencode() or rawurlencode() but it's hard to say the document aren't clear about it. http://www.php.net/manual/en/function.urlencode.php http://www.php.net/manual/en/function.rawurlencode.php Link to comment https://forums.phpfreaks.com/topic/155085-solved-help-with-encoded-links/#findComment-815837 Share on other sites More sharing options...
laffin Posted April 21, 2009 Share Posted April 21, 2009 Just sez the links are encoded, I believe this is because a lot of ppl use spaces and other characters in their filename. As u may have seen some downloaded documents save on yer pooter with %20, and ya end up renaming them %20 = space and such So Yeah, I wud agree with theonlydrayk, and use urlencode on those files or all files. Link to comment https://forums.phpfreaks.com/topic/155085-solved-help-with-encoded-links/#findComment-815842 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.