I'm new to PHP so bear with me, I'm still in the crawl stage. 🙂
I'm trying to embed a small flash mp3 player to enable users to play various podcasts on my site.
I have created a file that I thought would work. It loads the mp3 player but errors out. Here is the code for the form:
<html>
<body><form action="test.php" method="post">
Podcast URL: <input type="text" name="podcast" size="25" maxlength="70" />
<input type="submit" />
</form>
<embed src="http://www.racinnation.com/mp3/botpod/mp3player.swf?config=http://www.racinnation.com/mp3/botpod/config.xml&file=http://www.racinnation.com/mp3/botpod/getfeed.php?filename='<?php echo $_POST["podcast"]; ?>'" wmode="transparent" name="mp3player" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" height="200" width="300">
</body>
</html>
The live file is here: http://www.racinnation.com/mp3/test.php
I don't get any kind of code error, the player just says the playlist is in the wrong format. I think this is telling me my POST method is either not working at all or not working correctly.
Any help would be greatly appreciated.