As i am a php programmer, i have never been faced a problem like that.
On freshly installed directadmin server, no cookie or session command is working.
check that: www.dalyanberay.com/deneme1.php
deneme1.php the code:
<?
setcookie("username", "selam", time()+3600, '/', '.dalyanberay.com');
setcookie("merhaba","selam");
$_SESSION['deneme'] = "geldi";
echo $_SESSION['deneme'];
print_r($_COOKIE);
?>
(session prints only for this page. not on another page)
deneme2.php the code:
<?
echo $_COOKIE['username'];
echo $_SESSION['deneme'];
echo $_SESSION['merhaba'];
print_r($_COOKIE);
?>
I couldn't find anything on the web related to this issue. Can you help me?
On freshly installed directadmin server, no cookie or session command is working.
check that: www.dalyanberay.com/deneme1.php
deneme1.php the code:
<?
setcookie("username", "selam", time()+3600, '/', '.dalyanberay.com');
setcookie("merhaba","selam");
$_SESSION['deneme'] = "geldi";
echo $_SESSION['deneme'];
print_r($_COOKIE);
?>
(session prints only for this page. not on another page)
deneme2.php the code:
<?
echo $_COOKIE['username'];
echo $_SESSION['deneme'];
echo $_SESSION['merhaba'];
print_r($_COOKIE);
?>
I couldn't find anything on the web related to this issue. Can you help me?