ödeme sayfama kullanıcı girişi eklemeye çalışıyorum php ile eklemeyi denedim basit bir kod yazdım
ob_start();
session_start();
if (isset($_POST['kullanicigiris'])) {
echo "adım 2";
echo $email=htmlspecialchars($_POST['email']);
echo $password=md5($_POST['password']);
$kullanicisor=$db->prepare("select * from oc_customer where email=:mail and password=:password ");
$kullanicisor->execute(array(
'mail' => $email,
'password' => $password,
));
$say=$kullanicisor->rowCount();
if ($say==1) {
echo $_SESSION['useremail']=$email;
echo "adım 3";
header("Location:/index.php?route=extension/quickcheckout/checkout");
exit;
} else {
header("Location:/index.php?route=extension/quickcheckout/checkout?status=no");
}
}
kod şu anda çalışıyor ama başlattığı session name opencartın kendi session name ile uyuşmuyor veya session id ile mi tutuyor opencart bilmiyorum bu kodu nasıl düzenlemeliyim ?