I've spent the past several hours attempting to display a PERL script on my website, but I'm not having much luck.
I have a cgi based calendar which I want to display in the main body of the website, if a hyperlink is clicked.
I've tried to implement this by editing \includes\languages\english\page_4php with the following code:
$cgi = "http://www.strungoutandwired.com/cgi-bin/webcal/webcal.pl";
echo file_get_contents($cgi);
Unfortunately, this causes the calendar to display at the top of the website, not in the white area where I would like it (it also screws up the formatting).
I suspect there is another more appropriate means to do this.
You can see my dilemma in action by visiting: http://www.strungoutandwired.com and selecting the "Events Calendar" sidebox hyperlink.
Can anyone please tell me how I should call this *.pl script so it displays appropriately in the white area of the main page?



