Bonjour,
mon problème se produit sur le serveur cible mais pas en local (Wampserver).
J'ai sur une page un formulaire html :
et dans l'action (test.htm qui est un fichier inclus dans index.php) les données ne sont pas transmises :
Code html+PHP : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13 <FORM action="<?php echo SITE_URL_HTTP; ?>/index.php?page=test&lang=<?php echo $lang;?>" method="POST"> <input type="hidden" name="local" value="<?php echo $localization;?>"> <select name="typeSel" size=1> <option><?php echo $str[86]; ?></option> <?php foreach($arrAll2 as $type) { ?> <option><?php echo $type->type; ?></option> <?php } ?> </select> <input type="submit" value="OK"> </form>
donne
Code php : Sélectionner tout - Visualiser dans une fenêtre à part
1
2 $typeSel=(isset($_POST["typeSel"]))?($_POST["typeSel"]):$_SESSION['typeSel'];echo " typeSel=".$typeSel."/local=".$_POST["local"]."<br/>";Puis-je contourner ce problème ?typeSel=/local=
Partager