How to redirect from one CGI to another

后端 未结 2 1285
隐瞒了意图╮
隐瞒了意图╮ 2021-01-27 17:14

I am sending data from A.cgi to B.cgi. B.cgi updates the data in the database and is supposed to redirect back to A.cgi, at w

2条回答
  •  情书的邮戳
    2021-01-27 17:43

    Use CGI's redirect method:

    my $url = "http://Travel/cgi-bin/A.cgi";
    my $q = CGI->new;
    print $q->redirect($url);
    

提交回复
热议问题