Jump to content

mightywayne

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

mightywayne's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. It doesn't, but, all the cookies in that list don't.
  2. toplay, that's a great suggestion! I've tried it now (the bug still arose ) and hopefully I won't get anymore complaints. Gulp. ... however, if I do... I think it might have to do with the fact that I've .httaccess'd my website to remove the www. No matter what, you simply can't "get" to www. domain. I removed that due to complications in the forums and it's ugly anyway, is there a way to get around that when setting a cookie?
  3. Oh, right, forgot to mention I tried the quotes thing. You know, I seriously think it might be the domain. I'll come back if it starts up again, thanks.
  4. Hello, everyone. I run a game. Recently I've gotten complaints that peoples' cookies have been expiring much earlier than they should be, and some people can't log in at all. My cookies are set like this: $randomcookiethinger = rand(1, 999999999999999); setcookie(user, $randomcookiethinger, time()+1600, "", ""); The $randomcookiethinger is used to make sure they aren't editing cookie information. My check to see if the cookie expired is: if (!isset($_COOKIE["user"])) die('<font color="red"><b><big>Error:</big></b></font><font color="black"><br><br>You must log in first!'); Do you have ANY idea what could be wrong? Edit: Changed subject to conform to forum rules.
  5. O.o; It was that easy? Jeez. Uhm thanks for the help, but I didn't expect you to write any sort of script for me. I just needed the answer. I'd actually forgotten GET even existed, I learned so long ago. In the future, you should probably not be like, racist to newbies and stuff.
  6. Hello there. I have a user system where I'd like players to be able to view each others' profiles. So basically what I'm hoping for is something like... The URL, is viewprofile.php?id=xxxxxx Where xxxxxx is, would be that player's ID number. But what I'm wondering is how exactly if I generated that, the script would figure out what the ID was referring to. This'd also make searching for the ID easier cuz I have a cool way of doing that.
×
×
  • 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.