#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2000
    Posts
    108
    Rep Power
    15
    Hello...

    Is there a way to have a perl script call another perl script to run, without having to incorporate a refresh meta-tag into the HTML?

    I am creating a log-in page, and I would like for a script to check for access, and then call another script (that prints the HTML).

    Thanks!
    Josh http://www.datera.com
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2000
    Posts
    6
    Rep Power
    0
    The easiest way to do this is to use SSI (server-side-includes). Assuming your ISP supports this, you're going to have to rename your index.html to index.shtml, so that the web server knows that this file is a SSI html file.

    Then you can call your perl function using this syntax:

    <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre>
    <!--#exec cgi="/cgi-bin/yourscript.pl"-->
    [/code]

    If this doesn't answer your question, feel free to e-mail me.



    ------------------
    dr. cyclops
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 1999
    Posts
    33
    Rep Power
    16
    <big hmmmmmm>

    maybe with: system, exec or open.

    perldoc -f those.

    Imo

IMN logo majestic logo threadwatch logo seochat tools logo