Hi all,
I've created a small site and would like to add some new functionality. It's a football site and what I plan to do is add a match results page. The results I have in excel format but can easily convert to plain text, csv, access, etc.
I know how to write the PERL to connect to a DB and extract the results I need. The problem I have though is utilising this in HTML. I'm new to PERL and web design so alot of things I know now how to do but cannot tie up together.
I've created a page named stats.shtml and a PERL script named results.pl. So far I've tried two methods to utilise the script in HTML and neither have worked-
<!-- exec cgi = "results.pl" -->
and
<!--#include virtual="results.pl" -->
I'm hoping there is a glaring error there that someone will point out and point me in the right direction. The PERL file is at the moment just a test file with a simple print statement in it. If I access the file via the full URL it works fine but if I access the HTML file by the full URL I get the following message:
[an error occurred while processing this directive]
Any help would be appreciated.
Cheers
Chivo
I've created a small site and would like to add some new functionality. It's a football site and what I plan to do is add a match results page. The results I have in excel format but can easily convert to plain text, csv, access, etc.
I know how to write the PERL to connect to a DB and extract the results I need. The problem I have though is utilising this in HTML. I'm new to PERL and web design so alot of things I know now how to do but cannot tie up together.
I've created a page named stats.shtml and a PERL script named results.pl. So far I've tried two methods to utilise the script in HTML and neither have worked-
<!-- exec cgi = "results.pl" -->
and
<!--#include virtual="results.pl" -->
I'm hoping there is a glaring error there that someone will point out and point me in the right direction. The PERL file is at the moment just a test file with a simple print statement in it. If I access the file via the full URL it works fine but if I access the HTML file by the full URL I get the following message:
[an error occurred while processing this directive]
Any help would be appreciated.
Cheers
Chivo