hi
i,m not a programmer and i,m new to programing and design, i have been using dw cs3 and when i do something i look at the codes and try to understand whats going on, i recently got a dwcs3 extension, which is called smart e-mailer, and to make it work i have to change the code and introduce a user name and password, which is no problem. but then i,m instructed to change a line which is listed as " Yoursession", i have add the code below for you too see,
$_SESSION['UserSession'] = "youruserid"; // customize your UserId
$_SESSION['PassSession'] = "yourpass"; // customize your Password
if (isset($_POST['send'])) {
if ($_POST['UserID'] == $_SESSION['UserSession'] && $_POST['Password'] == $_SESSION['PassSession']) {
$SessionPassword = "yoursession"; // customize the accessing session
session_register("SessionPassword");
header("Location: SmarteMailManagerPro.php");
} else {
header("Location: error.php");
the line i,m confused about is $SessionPassword = "yoursession"; // customize the accessing session,
i,m not sure what this means what would i change "yoursession" too.
i have tryed too add the password i inserted into the database, obviously i,m doing something wrong , can anyone advise me,
Thank you
G,M
i,m not a programmer and i,m new to programing and design, i have been using dw cs3 and when i do something i look at the codes and try to understand whats going on, i recently got a dwcs3 extension, which is called smart e-mailer, and to make it work i have to change the code and introduce a user name and password, which is no problem. but then i,m instructed to change a line which is listed as " Yoursession", i have add the code below for you too see,
$_SESSION['UserSession'] = "youruserid"; // customize your UserId
$_SESSION['PassSession'] = "yourpass"; // customize your Password
if (isset($_POST['send'])) {
if ($_POST['UserID'] == $_SESSION['UserSession'] && $_POST['Password'] == $_SESSION['PassSession']) {
$SessionPassword = "yoursession"; // customize the accessing session
session_register("SessionPassword");
header("Location: SmarteMailManagerPro.php");
} else {
header("Location: error.php");
the line i,m confused about is $SessionPassword = "yoursession"; // customize the accessing session,
i,m not sure what this means what would i change "yoursession" too.
i have tryed too add the password i inserted into the database, obviously i,m doing something wrong , can anyone advise me,
Thank you
G,M