Thread redirect url: problem mit redirection header
(4 answers)
Opened by daywalka at 2004-03-04 00:32
[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: ![]() ![]() |