Solved

using include file for perl

Posted on 2001-06-19
4
334 Views
Last Modified: 2013-11-18
Is there a way to include perl script into HTML as an include file? If so please let me know how to go about doing it.
0
Comment
Question by:ghgan
  • 2
4 Comments
 
LVL 8

Expert Comment

by:shlomoy
ID: 6206370
there is "embeded perl"
0
 
LVL 1

Expert Comment

by:dougis
ID: 6208877
If your webserver is configured to allow it you can use SSI to include a perl script.
From an SHTML file running on Apache 1.3.19
<!--#include virtual="/cgi-bin/axprodlist.cgi"-->
and the results of the cgi show up in the file. Simply replace /cgi-bin/axprodlist.cgi with your cgi call.
Hope that helps.
0
 

Author Comment

by:ghgan
ID: 6275418
Unfortunately, I am using WINNT2000
0
 
LVL 1

Accepted Solution

by:
dougis earned 20 total points
ID: 6275599
Which Webserver are you running though (IIS I assume) I am pretty certain it will also allow SSI commands like the one I gave you (just needs to be set up properly to allow it)
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Node js - send response after all promises are resolved 1 58
what are these modules in perl script 4 103
Adjust the position 3 65
perl syntax 3 16
There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
This article covers the basics of the Sass, which is a CSS extension language. You will learn about variables, mixins, and nesting.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question