Code: Select all
andCode: Select all
tags where appropriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]
Ok im attempting to convert this so that it is useable in any content manager to be used as just plain php. but i cannot figure out what is going wrong. here is the original code if someone can help me figure out how to make it work just loading the php that would be awesome.Code: Select all
<?php
if (eregi("block-YB_Radio.php",$PHP_SELF)) {
Header("Location: index.php");
die();
}
$content = "<object ";
$content .= " classid=\"CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6\" name=\"wmtPlayer\" width=\"150\" hei$
$content .= " <param name=\"url\" value=\"http://24.177.66.230:8000\">";
$content .= " <param name=\"autostart\" value=\"0\">";
$content .= " <param name=\"uiMode\" value=\"mini\">";
$content .= " <embed";
$content .= " src=\"http://wickedradio.org:8000\"";
$content .= " width=200 height=100";
$content .= " autostart=\"1\" align=\"middle\" type=\"application/x-mplayer2\" ";
$content .= " name=\"wmtPlayer\"";
$content .= " uimode=\"mini\"> </embed> </object> ";
?>feyd | Please use
Code: Select all
andCode: Select all
tags where appropriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]