SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jul 2004
    Location
    Massachusetts
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    kick off perl script from asp web form

    Hi

    we have a perl script at work which we run manually from time to time to move files from our staging environment to our live environment. As part of an application I'm working on i'd like to incorporate a buttom on a web form which would kick off this perl script when neccessary. Is there any way to do this?

    John

  2. #2
    SitePoint Wizard gRoberts's Avatar
    Join Date
    Oct 2004
    Location
    Birtley, UK
    Posts
    2,439
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well most perl/cgi scripts allow you to use querystrings.. Saying that, why don't you use asp to do this?

    Basically all you would need to do is tell the script to either run when called in the browser ( which it should do without any activation ) or use a querystring to activate it.

    ie. http://www.domain.com/cgi-bin/_admin...l?action=start
    or. http://www.domain.com/cgi-bin/_admin/transfiles.pl

    Providing you had setup querystrings to activate the script on the above url, then it should work, otherwise you can just call the file it's self.

    Gav


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •