Hi Chuck,


Chuck Crisler wrote:
This isn't exactly on-topic, but maybe someone can help me with this
problem. I need to execute a Perl script on the server from my HTML. I
found examples of running a script in the browser and I know how to
configure Apache. I just don't know how to invoke a server script. I
need the answer, but it would really be helpful to also know where to
look for this information. :-)


There are many options available to you, but Mason would be the one that comes to mind. For example, take a look at:

http://www.masonbook.com/book/chapter-2.mhtml#TOC-ANCHOR-5

(As executing a script is dangerous, you should dig deeper into security issues and not simply do:

<%perl>
`mycmd $arguments_from_user`;
</%perl>

You may also want to go to http://www.masonbook.com/book/ and look at the section "Alternatives to Mason" before you get into it. Good luck!

Ray





--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to