Jump to content

cemanga

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Everything posted by cemanga

  1. Thanks alot, just like you said, there was some outputs.
  2. <? if(isset($_POST['login'])) { if (isset($_POST["password"]) && ($_POST["password"]=="$pass")) { $Month = 2592000 + time(); setcookie('tblog', 'tblogvalue', $Month); print_r($_COOKIE); } else { if (isset($_POST['password']) || $password == "") { echo "<b>Password Wrong</b><br>Please reenter your password!</a><br><br>";} } } ?>
  3. Cookies are enabled, i copied this code from my other website's index page, on that page its working perfectly but when it comes to this one, its not working at all.
  4. I tried it but now it say; Array ( [phpSESSID] => b87d0f51338e4d77526e5fa17a21cb70 )
  5. Hi, I was trying to use setcookie on my website but when I try to use, it wasn't setting anything and then I tried to make sure if it's setting something, I added echo $_COOKIE; But it shows Array (just the word) instead of tblogvalue. This is the code I'm using; $Month = 2592000 + time(); setcookie(tblog, tblogvalue, $Month); echo $_COOKIE;
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.