Hi All, I am trying to pass a SESSION var from the signup.php script to the thanks.php script. The var concerned is the coupon var. Alex has been involved and has provided the script amendment but I can't get it to work. In the signup.php script Alex told me to replace: +++++++++++++++++++++++++++++++++++++++++ $vars['COUPON_CODE'] = $vars['coupon']; to: $vars['COUPON_CODE'] = $_SESSION['coupon'] = $vars['coupon']; +++++++++++++++++++++++++++++++++++++++++ but in my version of the signup.php script I do not have "$vars['COUPON_CODE'] = $vars['coupon'];", what I have is "$vars['COUPON_CODE'] = $GLOBALS['COUPON_CODE'];" What I am trying to achieve is to load a thank you pgae based on the content of the coupon var. At the end of my thanks.hph script I have: +++++++++++++++++++++++++++++++++++++++++ $t->assign('subtotal', $subtotal); $t->assign('total', array_sum($prices)); $t->assign('products', $pr); } switch($_SESSION['ecn']) { case "D3B051B37E": $t->display("thanks_1.html"); break; case "BAASTN275730": $t->display("thanks_2.html"); break; case "591F3091B0": $t->display("thanks_3html"); break; case "76FT784G79": $t->display("thanks_4.html"); break; case "1B3C7BC13B": $t->display("thanks_5.html"); break; case "74HT873G79": $t->display("thanks_6.html"); break; default: $t->display("thanks.html"); } +++++++++++++++++++++++++++++++++++++++++ Can anyone help with this. Many thanks Dereck
Hi all, Alex and the team have fixed my problem. It was caused by the root url. They have changed it from; http://mydomain.com to http://www.mydomain.com So now I have custom branded signup pages that have custom branded thnks pages. Many thanks to the aMember team Dereck