Bonsoir
mon souci : en environement de developpement mon code fonctionne, mais lorsque je le met en live je ne recupère pas mes variables et seulement celle ci???

Fomlulaire : modif_bien.php
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
 
<p style="text-align:center" class="normal_rdv"><b>Nom Photo N° 1 : </b><?php echo $recup_photo1?>
<label for="fichier_a_uploader" title="Recherchez le fichier à uploader !"><b>
<p class="normal_rdv"  style="margin-top: 0; margin-bottom: 0" style="text-align: left">Remplacement Photo 1</p>
</b></label>
<input name="fic1" size="70" type="file" id="fichier_a_uploader" class="normal_rdv" tabindex="14" /> <br /> <br />
<p style="text-align:center" class="normal_rdv"><b>Nom Photo N° 2 : </b><?php echo $recup_photo2?>
<label for="fichier_a_uploader" title="Recherchez le fichier à uploader !"><b>
<p class="normal_rdv"  style="margin-top: 0; margin-bottom: 0" style="text-align: left">Remplacement Photo 2</p>
</b></label>
<input name="fic2" size="70" type="file" id="fichier_a_uploader" class="normal_rdv" tabindex="14" /> <br /> <br />
<input type="hidden" name="fic1" value="<?php echo $recup_photo1?>" />
<input type="hidden" name="fic2" value="<?php echo $recup_photo2?>" />
<input type="hidden" name="posted" value="1" />
<input type="hidden" name="MAX_FILE_SIZE" value="<?php echo MAX_SIZE; ?>" />
<input type="submit" name="submit" value="Validation" tabindex="15" />
<input type="reset" value="Annulation" name="B2" tabindex="16"></p>
</p>
 </fieldset>
 </form>
</div>
 
<div style="position: absolute; width: 238px; height: 53px; z-index: 16; left: 449px; top: 92px" id="ajout" align="right">
<form method="POST" action="gestion_base_biens.php">
    <p>
        <input type="submit" value="Retour Gestion de biens" name="B1">
    </p>
</form>
</div>
 
<?php 
require("modiffichier.php");
?>
Code de modiffichier.php

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
 
 
$anc_photo1=trim($_POST['fic1']);
$anc_photo2=trim($_POST['fic2']);
en test ok en live pas ok????