Re: Calling a perl script from an html doc
From: John Bokma (postmaster_at_castleamber.com)
Date: 10/18/04
- Next message: Spin: "Re: Calling a perl script from an html doc"
- Previous message: John Bokma: "Re: overriding perl switch"
- In reply to: Spin: "Calling a perl script from an html doc"
- Next in thread: lesley_b_linux_at_yahoo.co.yuk: "Re: Calling a perl script from an html doc"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 18 Oct 2004 18:01:03 GMT
Spin 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?
Does AFAIK only work if you have and Perl installed, and the file is local
(the latter not sure). But why not just use Apache?
-- John MexIT: http://johnbokma.com/mexit/ personal page: http://johnbokma.com/ Experienced programmer available: http://castleamber.com/ Happy Customers: http://castleamber.com/testimonials.html
- Next message: Spin: "Re: Calling a perl script from an html doc"
- Previous message: John Bokma: "Re: overriding perl switch"
- In reply to: Spin: "Calling a perl script from an html doc"
- Next in thread: lesley_b_linux_at_yahoo.co.yuk: "Re: Calling a perl script from an html doc"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|