Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
when I try to pass the value of url on (ie $swapdata{url}), it is always empty#!/usr/bin/perl -w use CGI; my $q = new CGI; my $rcode=$ENV{REDIRECT_STATUS}; my $bstatus=($sendrealresponse)?"$rcode $messages{$rcode}":"200 Interc +epted error condition"; my $time=gmtime(time); my %swapdata=(url=>$ENV{REDIRECT_URL},notes=>$ENV{REDIRECT_ERROR_NOTES +}, code=>$rcode,message=>$messages{$rcode}, requester=>$ENV{REMOTE_AD +DR}, reqhost=>$ENV{REMOTE_HOST}, server=>$ENV{HTTP_HOST}, referrer=>$ +ENV{HTTP_REFERER}, time=>$time);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: can't get value of $ENV{REDIRECT_URL}
by rinceWind (Monsignor) on Dec 02, 2003 at 17:41 UTC | |
by Anonymous Monk on Dec 02, 2003 at 18:04 UTC | |
by b10m (Vicar) on Dec 02, 2003 at 18:07 UTC | |
|
Re: can't get value of $ENV{REDIRECT_URL}
by simonm (Vicar) on Dec 02, 2003 at 18:29 UTC |