Results 1 to 2 of 2

Thread: cgi script ?

  1. #1
    Join Date
    Mar 2004
    Location
    Malaysia
    Posts
    29

    Exclamation Unanswered: cgi script ?

    how to call another cgi script within a cgi script ?

  2. #2
    Join Date
    Jan 2004
    Location
    Germany
    Posts
    167
    if you want to catch the output of the second script: my $result = `$sec_cgi_script`;

    to redirect to the second script: (This code has to be in the first script) print $cgi->redirect(-url => $sec_cgi_script);

    you also can use

    system($sec_cgi);
    exec($sec_cgi);

    but these ones are often deactivated by the provider.
    board.perl-community.de - The German Perl-Community

Posting Permissions

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