Running Perl From Web Page W/out Changing Page?

H

Hal Vaughan

Is there any way to run a Perl script from a web page without changing the
web page?

I'd like to be able to click a button on a web page and have it run a script
in the background, but not have to re-load the page or change anything.  Is
this possible?

Thanks!

Hal
 
G

Gunnar Hjalmarsson

Hal said:
Is there any way to run a Perl script from a web page without
changing the web page?

I'd like to be able to click a button on a web page and have it run
a script in the background, but not have to re-load the page or
change anything. Is this possible?

Yes. Provided that the only thing the script prints to STDOUT is:

print "Status: 204 No Content\n\n";

you should be able to invoke it the way you describe.
 
R

Robin

Hal Vaughan said:
Is there any way to run a Perl script from a web page without changing the
web page?

I'd like to be able to click a button on a web page and have it run a script
in the background, but not have to re-load the page or change anything. Is
this possible?

Thanks!

do a google search for ssi tutorial, that's where I started with this.
-Robin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,008
Latest member
Rahul737

Latest Threads

Top