Hallo,
in meinem CGI-Script zur Erstellung einer Bestellmail, wird eine Bestellnummer generiert.
Diese würde ich gerne auf meiner Bestätigungsseite anzeigen.
Ich mache das so:
Redirection
sub redir{
my $url = shift;
print "Status: 302 Moved\n";
print "location: $url\n\n";
return;
}
Und damit z.B.: redir("$ENV{SCRIPT_NAME}?quit=1");
if(param('quit')){
quit();
}
sub quit{
# haue eine Bestätigung mit print raus
}
Schönen Sonntag,
Hotte