Please help in converting a small 'include' script
Posted by: DPuett
Posted on: 2008-08-18 23:59:00
for a WP-Cumulus script.
I want to add the very cool WP-Cumulus to a site I host here. The problem is the two scripts use an 'include' and DH doesn't allow that.
Would anyone know how to modify these two scripts so they will run on DH?
<script type="text/javascript" src="http://pagesofinterest.net/mikes/swfobject.js"></script>
<? include('http://pagesofinterest.net/mikes/blog_of_interest_files/cloud_creator.php'); ?>
and this one
<div id="tagcloudflash"></div>
<script type="text/javascript">
var so = new SWFObject("PATH_TO/tagcloud.swf", "tagcloud", "235", "235", "7", "#000000");
so.addParam("wmode","transparent");
so.addVariable("tcolor", "0x333333");
so.addVariable("tagcloud","<tags><?php include('PATH_TO/cloud_file.html'); ?></tags>");
so.write("tagcloudflash");
</script>
Any help would be appreciated.
Cheers,
David