in reply to Re: changing form action
in thread changing form action

when i use :
$query->header(); # some other code print $query->redirect('http://127.0.0.2/cgi-bin/18.cgi?12');
it returns: Status: 302 Moved Location: http://127.0.0.2/cgi-bin/18.cgi?12 and if i remark $query->header(); it gives : Internal Server Error

Replies are listed 'Best First'.
Re: Re: Re: changing form action
by bassplayer (Monsignor) on Mar 16, 2004 at 15:11 UTC
    You shouldn't specify a header when you use the redirect() method.

    The Internal Server Error may be coming from the correct place. What do you get when you go to the link (http://127.0.0.2/cgi-bin/18.cgi?12) using your browser?

    bassplayer