Link to home
Start Free TrialLog in
Avatar of jewee
jewee

asked on

Run a perl script from an html page.

How do I launch a perl script from an html page?????

ASKER CERTIFIED SOLUTION
Avatar of jhurst
jhurst

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jewee
jewee

ASKER

Can I use cgi?  I am not running a web server from this particular machine.  I read another post where it said to use image which will then run the script.  Would that be a possible solution?
Yes, an <img src="something.cgi" width="1" height="1"> would work well too.

Now, if you are not running a web server then how do the pages get to the client?

You will need a web server so that the computer that is to run the script can actually receive and know what to do with the requests generated on the web page.  It would be VERY SCARY if there were some way round that.  COnsider the possibility of web pages writen by others executing code on your computer!

SOLUTION
Avatar of Tintin
Tintin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
good popint I did forget that file:// is a legitimate protocol for most browsers.  But I doubt that he is doing that