Hello everyone, I need help with what to do with my page since SESSION won’t work for me. The reason that I can’t use sessions is because register_globals is set to “off” on the server and I am not allowed to change that.
Can someone please direct me to what I should use instead of “$_SESSION”?
Code example is as follows:
Page-1*********<?php session_start(); ?>
// Get values from user inputs in the form and store them in SESSION variables
$_SESSION[‘Taxes’] = ($_POST[‘element_5_1’]+0);
$_SESSION[‘Loan1’] = ($_POST[‘element_8_1’]+0);
$_SESSION[‘Loan2’] = ($_POST[‘element_9_1’]+0);
// Retrieve the SESSION variables and store them in new variables for calculation
$Taxes = ($_SESSION[‘Taxes’]+0);
$Loan1 = ($_SESSION[‘Loan1’]+0);
$Loan2 = ($_SESSION[‘Loan2’]+0);