Thread redirect url: problem mit redirection header (4 answers)
Opened by daywalka at 2004-03-04 00:32

pq
 2004-03-04 11:30
#1404 #1404
User since
2003-08-04
12209 Artikel
Admin1
[Homepage]
user image
[quote=daywalka,03.03.2004, 23:32]
Code: (dl )
$cgi->redirect(URL) if (not $value);

Gibt es viell. ein Möglichkeit, dass das Script sofort weiterleitet ohne weiter durchzulaufen oder viell. eine gar bessere Alternative (zu redirect)?[/quote]
du kennst exit() nicht?
$cgi->redirect(URL), exit if (not $value);
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread redirect url: problem mit redirection header