Running Perl From Web Page W/out Changing Page?

Discussion in 'Perl Misc' started by Hal Vaughan, Apr 23, 2004.

  1. Hal Vaughan

    Hal Vaughan Guest

    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
     
    Hal Vaughan, Apr 23, 2004
    #1
    1. Advertising

  2. Hal Vaughan wrote:
    > 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.

    --
    Gunnar Hjalmarsson
    Email: http://www.gunnar.cc/cgi-bin/contact.pl
     
    Gunnar Hjalmarsson, Apr 23, 2004
    #2
    1. Advertising

  3. Hal Vaughan

    Robin Guest

    "Hal Vaughan" <> wrote in message
    news:VK9ic.11097$IW1.736155@attbi_s52...
    > 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
     
    Robin, Apr 25, 2004
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Hal Vaughan
    Replies:
    0
    Views:
    471
    Hal Vaughan
    Apr 23, 2004
  2. Alice Wong
    Replies:
    2
    Views:
    374
    Steven Cheng[MSFT]
    Mar 9, 2006
  3. Lisa
    Replies:
    19
    Views:
    299
    A. Sinan Unur
    Dec 19, 2004
  4. felad
    Replies:
    8
    Views:
    1,224
    alpha_beta_release
    Aug 30, 2006
  5. VK
    Replies:
    3
    Views:
    203
    Dr J R Stockton
    Mar 15, 2007
Loading...

Share This Page