My subscription forms was almost working except on IExplorer so i have it redone to suit the browser with the "Post" instead of "Get".
But now it is my redirection page that doesn't work. I suspect that it was in that page that the problem was located.
Maybe someone have a better way to do this(probably) but i will explain you how it is suppose to goes.
Fisrt page, the user enter personnal data and goes to the bottom of the page to check the radio button that will bring him to the paiement form of their choice.
http://www.prochant.com/test/le_formulaire1.htm
I don't have any problem with the paypal form. It's the other the "Poste"form that i'm having problems with.
In each case formmail process to a redirection page i made.
<?php
session_start()
?>
<html>
<!-- redirection.php -->
<body>
<?php
$_REQUEST[$body];
extract($_POST);
if ($Paiement == "Poste") {
require 'formposte.php';
} elseif ($Paiement == "PPal") {
require 'formppal.php';
}
$_SESSION['came_from'] = $_SERVER['PHP_SELF'];
?>
</body>
</html>
Then i want to keep the variables alive to echoes some in that last form they choose.
On that last form i only have 3 php tag
1) Session or any way to keep the variables that is coming from the first form alive
<?php
if ( !isset($_SESSION['came_from']) || $_SESSION['came_from']!='redirection.php' );
?>
2-3) normal echo tag
<?php echo ($firstname . " " . $lastname) ; ?>
<?php echo ($E2_Adresse . " " . $E2_Ville) ; ?>
And then the final form is suppose to be output to the webmaster email!!
Easy !
Really but how do you do it?
I read as much as i can but i tried so many thing that I will be confused for the next 3 weeks.
Can someone clear that up !