Find and Replace XML with PHP -


i have inaccurate podcast generator i'm trying correct using php code:

<?php $superxmlfile_load_file("http://www.podcastgarden.com/podcast/podcast-rss.php?id=2337"); $xml= str_replace(type="audio/mp4", type="video/mp4", $superxmlfile); echo $newtext ?> 

anyone know what's wrong , how fix it? thanks!

looks lot of syntax errors.

try this.

<?php $superxmlfile = file_get_contents("http://www.podcastgarden.com/podcast/podcast-rss.php?id=2337"); $xml= str_replace('type="audio/mp4"', 'type="video/mp4"', $superxmlfile); echo $xml; ?> 

you should at-least basic editor php code syntax highlight.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -