[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl-WebCGI] Re: Perl from within HTML?



tedd@sperling.com wrote:

>Hi:
>
>How can a Perl script be executed from within a HTML document?

If you mean what I think you mean, then you are looking at SSI.  Most 
servers (except, unfortunately, for ASIP) have some form of SSI.  
However, usually, if it isn't your server, they are hesitant to let you 
embed script calls in a file, as it is a major security risk.

How to do it: look up SSI, or ask your server about it.  Look for the 
<!--#exec> command -- this command will allow you to embed a script call. 
 Also, you may need to rename your document to .shtml, or .ssi, or 
somthing like that -- depends on the server..

HTH,
Ricky Morse

-----
Pukku


==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org