Blockchain is a technology that underpins the success of Bitcoin and other digital currencies, but it has uses far beyond finance. Learn how blockchain works and why it is proving disruptive to other areas of IT.
<?php // Code tested on wordpress file single.php $key="enclosure"; $str = get_post_meta($post->ID, $key, true); echo 'str is '.$str; //this output: str is http://www.site.com/-dan-baker.mp3 6787576 audio/mpeg $split_at_space=explode(" ",$str); $mimetype=array_pop($split_at_space); $numbers=array_pop($split_at_space); $file=join(" ",$split_at_space); echo "\n"; echo 'File:'.$file; ?>
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.