I'm trying to create a module that will run a php script. below is my php script. I guess I just don't know well enough how to make that run on the forums. I tried to put the raw data in a static html page, but that didn't work so I was thinking I needed to find a way to call the .php script on the server. Am I even remotely close to figuring this out?
Thanks
-Luke
- - - Updated - - -
Seems I'm blind... I found the php block, but code still not working.
PHP Code:
<?php
if (eregi("block-Sample_Block.php",$_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}
$content = <<<EOT
<!--REPLACE BELOW THIS LINE-->
<span id="instantventrilo"><a href="http://www.instantventrilo.com/">ventrilo</a> Hosting by InstantVentrilo.com</span><script type="text/javascript" src="http://view.light-speed.com/ventrilo.php?IP=theonetriune.typefrag.com&PORT=10275&STYLE=2&CHANNEL_WNOUSER=YES&SHOW_IP_PORT=NO&HELP=YES&CONLINK=YES&WIDTH=200&FONTSIZE=10&BGCOLOR=FFFFFF&SN_BGCOLOR=000000&SN_COLOR=FFFFFF&INFO_BGCOLOR=0ba122&INFO_COLOR=FFFFFF&HELP_BGCOLOR=409DE0&HELP_COLOR=000000&CHANNEL_BGCOLOR=CCCCCC&CHANNEL_COLOR=000000&UN_BG=FFFFFF&UN=000000&METHOD=js"></script>
<!--REPLACE ABOVE THIS LINE-->
EOT;
?>
-Luke
- - - Updated - - -
Seems I'm blind... I found the php block, but code still not working.
Comment