I've also read that any script that needs to use register variables isn't coded well, so i'm looking into alternatives, however, this won't be for a while i'm sure. The issue that seems to have suddenly cropped up is that $_SESSION seems to have stopped working.. ?
My hosts have told me to try setting register globals to "on", this shouldn't be the case as my phpinfo file already tells me:
"register_globals local value: On master value: On"
I use a form to grab variables, and then use the following code set in a "referral-variables.php" file,
Code: Select all
<?php
session_start();
$_SESSION['partner'] = addslashes($_REQUEST['partner']);
$_SESSION['name'] = addslashes($_REQUEST['name']);"
?>Code: Select all
<?php include('../partners/referral-form/referral-variables.php');
session_start();
?>Any help would be appreciated!
thanks a lot
mic
PS: i'm using lunarpages > php version 4.4.9.