Bonsoir

j'ai une page ou j'ai un formulaire de paiement (rentabiliweb) dans cette page bien entendu j'ai des variables de sessions actives

Page formulaire
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
34
 
<table border="0" cellpadding="0" cellspacing="0" style="border:5px solid #E5E5E5; margin: 5px auto;"><tr><td>
<table border="0" cellpadding="0" cellspacing="0" style="width: 300px; border: solid 1px #AAAAAA; ">
  <tr>
    <td style="text-align:left; border-bottom: 1px solid #D8DFEA; height: 30px; "><a href="http://www.rentabiliweb.com/" target="_blank"><img src="http://payment.rentabiliweb.com/data/i/component/logo-form.gif" width="173" height="20" alt="Paiement sécurisé par Rentabiliweb" style="padding: 1px 0 0 5px; border: none;" /></a></td>
  </tr>
  <tr>
    <td style=" text-align:center; background-color:#ffffff;"><div style="text-align:center">
      <p style=" font-family:Arial, Helvetica, sans-serif; padding: 5px; margin: 0px;"> 
	  	<span style="font-size: 12px; font-weight:bold; color:#3b5998;">Choisissez votre pays : </span> <br />
			<span style="font-size: 11px; font-style: italic; color:#5c5c5c;"> Choose your country : </span></p>
       <a href="javascript:;" onclick="javascript:window.open('http://payment.rentabiliweb.com/form/acte/popup.php?docId=105673&siteId=312213&cnIso=FR','bepass_display_popup','toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=1,copyhistory=0,menuBar=0,width=300,height=350');"><img src="http://payment.rentabiliweb.com/data/i/flags/25_15/74.gif" width="25" height="15" alt="France" style=" border: none; margin: 5px;" /></a>  <a href="javascript:;" onclick="javascript:window.open('http://payment.rentabiliweb.com/form/acte/popup.php?docId=105673&siteId=312213&cnIso=UK','bepass_display_popup','toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=1,copyhistory=0,menuBar=0,width=300,height=350');"><img src="http://payment.rentabiliweb.com/data/i/flags/25_15/81.gif" width="25" height="15" alt="United KingDom" style=" border: none; margin: 5px;" /></a>  <a href="javascript:;" onclick="javascript:window.open('http://payment.rentabiliweb.com/form/acte/popup.php?docId=105673&siteId=312213&cnIso=IT','bepass_display_popup','toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=1,copyhistory=0,menuBar=0,width=300,height=350');"><img src="http://payment.rentabiliweb.com/data/i/flags/25_15/114.gif" width="25" height="15" alt="Italy" style=" border: none; margin: 5px;" /></a>  <a href="javascript:;" onclick="javascript:window.open('http://payment.rentabiliweb.com/form/acte/popup.php?docId=105673&siteId=312213&cnIso=LU','bepass_display_popup','toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=1,copyhistory=0,menuBar=0,width=300,height=350');"><img src="http://payment.rentabiliweb.com/data/i/flags/25_15/131.gif" width="25" height="15" alt="Luxembourg" style=" border: none; margin: 5px;" /></a>  <a href="javascript:;" onclick="javascript:window.open('http://payment.rentabiliweb.com/form/acte/popup.php?docId=105673&siteId=312213&cnIso=NZ','bepass_display_popup','toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=1,copyhistory=0,menuBar=0,width=300,height=350');"><img src="http://payment.rentabiliweb.com/data/i/flags/25_15/159.gif" width="25" height="15" alt="New Zealand" style=" border: none; margin: 5px;" /></a>  <a href="javascript:;" onclick="javascript:window.open('http://payment.rentabiliweb.com/form/acte/popup.php?docId=105673&siteId=312213&cnIso=NL','bepass_display_popup','toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=1,copyhistory=0,menuBar=0,width=300,height=350');"><img src="http://payment.rentabiliweb.com/data/i/flags/25_15/167.gif" width="25" height="15" alt="Netherlands" style=" border: none; margin: 5px;" /></a>  <a href="javascript:;" onclick="javascript:window.open('http://payment.rentabiliweb.com/form/acte/popup.php?docId=105673&siteId=312213&cnIso=PL','bepass_display_popup','toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=1,copyhistory=0,menuBar=0,width=300,height=350');"><img src="http://payment.rentabiliweb.com/data/i/flags/25_15/171.gif" width="25" height="15" alt="Poland" style=" border: none; margin: 5px;" /></a>  <a href="javascript:;" onclick="javascript:window.open('http://payment.rentabiliweb.com/form/acte/popup.php?docId=105673&siteId=312213&cnIso=RO','bepass_display_popup','toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=1,copyhistory=0,menuBar=0,width=300,height=350');"><img src="http://payment.rentabiliweb.com/data/i/flags/25_15/180.gif" width="25" height="15" alt="Romania" style=" border: none; margin: 5px;" /></a>  <a href="javascript:;" onclick="javascript:window.open('http://payment.rentabiliweb.com/form/acte/popup.php?docId=105673&siteId=312213&cnIso=CH','bepass_display_popup','toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=1,copyhistory=0,menuBar=0,width=300,height=350');"><img src="http://payment.rentabiliweb.com/data/i/flags/25_15/205.gif" width="25" height="15" alt="Switzerland" style=" border: none; margin: 5px;" /></a>  <a href="javascript:;" onclick="javascript:window.open('http://payment.rentabiliweb.com/form/acte/popup.php?docId=105673&siteId=312213&cnIso=DE','bepass_display_popup','toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=1,copyhistory=0,menuBar=0,width=300,height=350');"><img src="http://payment.rentabiliweb.com/data/i/flags/25_15/5.gif" width="25" height="15" alt="Germany" style=" border: none; margin: 5px;" /></a>  <a href="javascript:;" onclick="javascript:window.open('http://payment.rentabiliweb.com/form/acte/popup.php?docId=105673&siteId=312213&cnIso=AU','bepass_display_popup','toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=1,copyhistory=0,menuBar=0,width=300,height=350');"><img src="http://payment.rentabiliweb.com/data/i/flags/25_15/15.gif" width="25" height="15" alt="Australia" style=" border: none; margin: 5px;" /></a>  <a href="javascript:;" onclick="javascript:window.open('http://payment.rentabiliweb.com/form/acte/popup.php?docId=105673&siteId=312213&cnIso=AT','bepass_display_popup','toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=1,copyhistory=0,menuBar=0,width=300,height=350');"><img src="http://payment.rentabiliweb.com/data/i/flags/25_15/16.gif" width="25" height="15" alt="Austria" style=" border: none; margin: 5px;" /></a>  <a href="javascript:;" onclick="javascript:window.open('http://payment.rentabiliweb.com/form/acte/popup.php?docId=105673&siteId=312213&cnIso=BE','bepass_display_popup','toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=1,copyhistory=0,menuBar=0,width=300,height=350');"><img src="http://payment.rentabiliweb.com/data/i/flags/25_15/22.gif" width="25" height="15" alt="Belgium" style=" border: none; margin: 5px;" /></a>  <a href="javascript:;" onclick="javascript:window.open('http://payment.rentabiliweb.com/form/acte/popup.php?docId=105673&siteId=312213&cnIso=CA','bepass_display_popup','toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=1,copyhistory=0,menuBar=0,width=300,height=350');"><img src="http://payment.rentabiliweb.com/data/i/flags/25_15/38.gif" width="25" height="15" alt="Canada" style=" border: none; margin: 5px;" /></a>  <a href="javascript:;" onclick="javascript:window.open('http://payment.rentabiliweb.com/form/acte/popup.php?docId=105673&siteId=312213&cnIso=ES','bepass_display_popup','toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=1,copyhistory=0,menuBar=0,width=300,height=350');"><img src="http://payment.rentabiliweb.com/data/i/flags/25_15/63.gif" width="25" height="15" alt="Spain" style=" border: none; margin: 5px;" /></a>  <a href="javascript:;" onclick="javascript:window.open('http://payment.rentabiliweb.com/form/acte/popup.php?docId=105673&siteId=312213&cnIso=US','bepass_display_popup','toolbar=0,location=0,directories=0,status=0,scrollbars=0,resizable=1,copyhistory=0,menuBar=0,width=300,height=350');"><img src="http://payment.rentabiliweb.com/data/i/flags/25_15/65.gif" width="25" height="15" alt="United States" style=" border: none; margin: 5px;" /></a>       	  <div style=" margin: 5px 0 0 0; border-top: solid 1px #D8DFEA; background-color:#F7F7F7;">
      <form id="rweb_tickets_105673"  method="get" action="http://payment.rentabiliweb.com/access.php" style="margin: 0px; padding: 0px;" >
        <table width="280" cellpadding="0" cellspacing="0" style=" margin: 2px auto;">
                	<tr>
                		<td style="text-align: center"><label for="code_0" style=" font-family:Arial, Helvetica, sans-serif;font-size: 12px; font-weight:bold; color:#3b5998; padding: 2px 2px 5px 2px; margin: 0px;">
                        Saisissez votre code d'accès et validez :<br/>
                <span style="font-size: 11px; font-style: italic;color:#5c5c5c;">Please enter your access code :</span>                    </label></td>
                	</tr>
                	<tr>
                		<td style="text-align: center">
                																	<input name="code[0]" type="text" id="code_0" size="10" style="border: solid 1px #3b5998; padding: 2px; font-weight: bold; color:#3b5998; text-align: center;"/>
																					<input name="code[1]" type="text" id="code_1" size="10" style="border: solid 1px #3b5998; padding: 2px; font-weight: bold; color:#3b5998; text-align: center;"/>
																												<input type="hidden" name="docId" value="105673" /><input type="button"  alt="Ok" onclick="getElementById('rweb_sub_105673').disabled=true;document.getElementById('rweb_tickets_105673').submit();" id="rweb_sub_105673"  style="width: 40px; height:20px; vertical-align:middle; margin-left: 5px; border: none; background:url(http://payment.rentabiliweb.com/data/i/component/button_ok.gif);"/></td>
                	</tr>
                </table>
       </form>
	   <div style="text-align: center; padding: 2px; font-family: Arial, Helvetica, sans-serif; clear: both;"><span style="font-weight:bold; font-size: 10px; color: #3b5998;">Votre navigateur doit accepter les cookies</span><br />
          <span style="font-style: italic; font-size: 10px; color: #5c5c5c;">Please check that your browser accept the cookies</span></div>
 
	  </div>
	  </div></td>
  </tr>
</table></td></tr></table>
et donc une fois les codes inscrit dans le formulaire sa m'envoie sur ma page suivante

Page protection
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
 
<?php
// Identifiants de votre document
$docId      = *****;
$siteId      = *****;
 
		// PHP5 avec register_long_arrays désactivé?
		if (!isset($HTTP_GET_VARS)) {
			$HTTP_SESSION_VARS    = $_SESSION;
			$HTTP_SERVER_VARS     = $_SERVER;
			$HTTP_GET_VARS        = $_GET;
		}
 
		// Construction de la requête pour vérifier le code
 
		$query      = 'http://payment.rentabiliweb.com/checkcode.php?';
		$query     .= 'docId='.$docId;
		$query     .= '&siteId='.$siteId;
		$query     .= '&code='.$HTTP_GET_VARS['code'];
		$query     .= "&REMOTE_ADDR=".$HTTP_SERVER_VARS['REMOTE_ADDR'];
		$result     = @file($query);
 
 
		if(trim($result[0]) !== "OK") {
			header('Location: paiement.php');
			exit();
		}
?>
et sur la page protection les données de session sont perdues entre le formulaire et la page protégée.

Pour infos j'ai mit un formulaire normale qui m'envoyer sur la page protegée et les sessions je les retrouves donc apparemment c'est le formulaire de rentabiliweb.

Quelqu'un aurais eu ce problème ?

Merci pour votre aide