Michalis has asked for the wisdom of the Perl Monks concerning the following question:
I would be interesting to find out if there are other ways to do it, or if this method causes any side-effects.if ($ENV{'QUERY_STRING'}) { print "Location: http://www.something.net/badboy.html\n\n"; # Do some logging if you wish here, although I don't know if it's po +ssible exit; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Avoiding GET in CGIs
by merlyn (Sage) on Jul 13, 2000 at 17:57 UTC | |
by Michalis (Pilgrim) on Jul 14, 2000 at 00:57 UTC | |
|
RE: Avoiding GET in CGIs
by le (Friar) on Jul 13, 2000 at 17:54 UTC | |
by Michalis (Pilgrim) on Jul 14, 2000 at 10:13 UTC | |
|
(jcwren) RE: Avoiding GET in CGIs
by jcwren (Prior) on Jul 13, 2000 at 17:53 UTC | |
by Michalis (Pilgrim) on Jul 14, 2000 at 01:12 UTC | |
|
Re: Avoiding GET in CGIs
by turnstep (Parson) on Jul 15, 2000 at 00:51 UTC |