in reply to Re: Re: Problem with form submission and redirect
in thread Problem with form submission and redirect
withprint "Content-type: text/html\n\n"; print "<html>\n"; print "<head>\n"; print "<META http-equiv=\"refresh\" content=\"0; url=http://mail.$ +domain/cgi-bin/qmailadmin\">\n"; print "</head>\n"; print "</html>\n";
print <<REDIRECT; Content-type: text/html <html> <head> <META http-equiv="refresh" content="0; url=http://mail.$domain/cgi-bin +/qmailadmin> </head> </html> REDIRECT
I would say that the second one is more readable and more maintainable. And be sure to read merlyn's strong suggestion to use CGI.pm for this particular application, instead of the code above.
--t. alex
but my friends call me T.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re (3): Problem with form submission and redirect
by Anonymous Monk on Aug 26, 2002 at 23:05 UTC | |
|
Re: Re (3): Problem with form submission and redirect
by Anonymous Monk on May 10, 2013 at 06:37 UTC |