Bonjour a tous,
Je cherche a rediriger une page apres l'execution des différentes requetes sur ma base Oracle.
Pour cela, j'ai essayé plusieurs chose, d'apres la doc et les posts q j'ai trouvé, mais sans résultat pour le moment...
1 2
| print header(-head=>meta({-http_equiv => 'refresh',
-content => '5; URL=/madev-cgi-bin/Projects/fiche_plante_new4.cgi?login=$login&pass=$pass&plante_select=$plante_select&site=$site&droit=$droit'})) |
produit
Undefined subroutine &main::meta called at /usr/local/apache/htdocs/madev-cgi-bin/Projects/fiche_travail.cgi line 131.
[Thu Oct 27 10:40:08 2005] [error] [client XXX.XXX.XX.X] malformed header from script. Bad header=<!DOCTYPE HTML PUBLIC "-//IETF: /usr/local/apache/htdocs/madev-cgi-bin/Projects/fiche_travail
1 2
| print $q->header(-head=>meta({-http_equiv => 'refresh',
-content => '5; URL=/madev-cgi-bin/Projects/fiche_plante_new4.cgi?login=$login&pass=$pass&plante_select=$plante_select&site=$site&droit=$droit'})) |
produit
Undefined subroutine &main::meta called at /usr/local/apache/htdocs/madev-cgi-bin/Projects/fiche_travail_new4.cgi line 131.
[Thu Oct 27 10:41:23 2005] [error] [client XXX.XXX.XX.X] malformed header from script. Bad header=<!DOCTYPE HTML PUBLIC "-//IETF: /usr/local/apache/htdocs/madev-cgi-bin/Projects/fiche_travail_new4.cgi
print $q->header(-Refresh'5; URL=/madev-cgi-bin/Projects/fiche_plante_new4.cgi?login=$login&pass=$pass&plante_select=$plante_select&site=$site&droit=$droit');
produit
Bad name after Refresh' at /usr/local/apache/htdocs/madev-cgi-bin/Projects/fiche_travail_new4.cgi line 133.
[Thu Oct 27 10:43:45 2005] [error] [client XXX.XXX.XX.X] Premature end of script headers: /usr/local/apache/htdocs/madev-cgi-bin/Projects/fiche_travail_new4.cgi
print $q->header(-Refresh=>'5; URL=/madev-cgi-bin/Projects/fiche_plante_new4.cgi?login=$login&pass=$pass&plante_select=$plante_select&site=$site&droit=$droit');
produit
[Thu Oct 27 10:44:18 2005] [error] [client XXX.XXX.XX.X] malformed header from script. Bad header=<!DOCTYPE HTML PUBLIC "-//IETF: /usr/local/apache/htdocs/madev-cgi-bin/Projects/fiche_travail_new4.cgi
Je ne vois pas ce que je peux essayer d'autre, donc je fais appel à vous...
Merci.
Linou
Partager