par
Invité » 05 mai 2009, 01:51
Bonsoir,
J'ai un problème avec un header de redirection dans un de mes scripts, UNIQUEMENT sous IE. Sous FF rien à signaler.
header('Location: http://' . $_SERVER['HTTP_HOST'] . rtrim(dirname($_SERVER['PHP_SELF']), '/\\') . '/' . 'affiche_convention.php?variable=' . urlencode($chaine));
Cette ligne est sensée rediriger vers une autre page en lui passant en parametre la chaine $chaine après l'avoir préalablement urlencodée.
Tout fonctionne parfaitement sous FF mais sous IE j'ai le droit a une jolie 404...
Par contre, si je fais
header('Location: http://' . $_SERVER['HTTP_HOST'] . rtrim(dirname($_SERVER['PHP_SELF']), '/\\') . '/' . 'affiche_convention.php?variable=toto');
Je retrouve effectivement toto en paramètre...
Avez vous une idée pour solutionner mon probleme ?
Merci,
ote[/php]