Re: Calling a perl script from an html doc
From: Malcolm Dew-Jones (yf110_at_vtn1.victoria.tc.ca)
Date: 10/18/04
- Previous message: Matija Papec: "Re: m/(\/\*[.|\n]*\*\/)/ to try and match C-Style multiline comments. No matches found."
- In reply to: Spin: "Calling a perl script from an html doc"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 18 Oct 2004 12:30:38 -0800
Spin (spam@spamhotmail.com) wrote:
: How can I call a perl script from an html document when I have no web server
: (eg. Apache with its cgi-bin folder)? Our accounting system's reports are
: created as html files on a linux server, and they pop up in IE6 on our local
: Win2k workstations.
: What I want to do is call a perl script like this in my html: <img
: src="my_perl_script_gets_my_dynamic_image.pl">.
: Basically it's the equivalent right now of calling this page in my browser:
: file:///W:/reports/my_perl_script_etc.pl which only displays the contents of
: the script instead of processing it via perl. Can I use Javascript or
: something to make the server run the script through perl in order to display
: it as an image in my local html doc?
Without a server, there's basically one way to run your cgi script.
You must run it ahead of time via some kind of batch job, and save the
output in one of more files. The html would then point to those files.
Whether this is practical depends especially on whether there only are a
small number of options that must be handled.
- Previous message: Matija Papec: "Re: m/(\/\*[.|\n]*\*\/)/ to try and match C-Style multiline comments. No matches found."
- In reply to: Spin: "Calling a perl script from an html doc"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|