Search results

  1. NSA

    PHP/MySQL Spamming

    Turns out this doesn't work.
  2. NSA

    PHP/MySQL Spamming

    Managed to get this working! function checkTime(){ $livetime = date('H:i:s', time() - 5); $name = $_SESSION['chat-username']; $q = mysql_query("SELECT * FROM chat WHERE name = '$name' AND time >= '$livetime'"); $check = mysql_num_rows($q); if($check >= 3){ echo "Woah! Slow down there..."...
  3. NSA

    PHP/MySQL Spamming

    Tried this out. Comments just stopped posting. http://pastebin.com/yN9vH63a
  4. NSA

    PHP/MySQL Spamming

    This isn't really what I was looking for. If I take another approach at trying to explain. Like on Habbo, you can flood. When you type so many messages at one given time, you have to wait 30 or 20 seconds to type another message.
  5. NSA

    PHP/MySQL Spamming

    Hello, I've been trying to create a way for PHP to check if a user is spamming comments. For instance, the user keeps constantly spamming the same letter or spamming a link, the user will be automatically banned. Let's say User A sends 5 messages within the space of 3 seconds. They will be...
  6. NSA

    Show DevBest Live Chat

    --UPDATES-- Added \clean, \me and \sticky Added emoticons still need to complete \me \clean empties the chat box \sticky [text] updates the sticky
  7. NSA

    Introduction Hi Imma new so Imma introduce myself

    Welcome to DevBest... You'll never leave.
  8. NSA

    Show DevBest Live Chat

    What would /me do?
  9. NSA

    Show DevBest Live Chat

    -- UPDATES -- Added new download link to original post. Added auto URL's (URL changes to <a href="URL">URL</a>) Added an option to register to reserve your username or sign in as a guest Added chat box commands (\ban and \unban so far) Next to come: Admin sticky note Ability to mute users...
  10. NSA

    Show DevBest Live Chat

    I'm gonna add something which let's users either login / register or use it as a guest. At which point if they're a guest, their name will be something like GUEST-{Random}. Probably also add something to let people know who's online and away.
  11. NSA

    Introduction I'mm new.. :P

    Welcome to DevBest. You'll never leave.
  12. NSA

    What's your OS?

    Laptop (Personal Use): Windows 7. Computer (Family Use):Windows 8. Netbook (Testing Purposes): Windows 8.
  13. NSA

    Post your desktop!

  14. NSA

    MySQL is being gay.

    eckostylez saves the day once again.
  15. NSA

    The Oxford Comma

    When you're writing a sentence and you include a few things, when you're coming to the end of the list and the time comes for you to use the word "and", do you stick a comma in front of it? I see people do it all the time. The first time I seen somebody do it I was like... wtf? Today in...
  16. NSA

    MySQL is being gay.

    It is indeed
  17. NSA

    MySQL is being gay.

    I had it as varchar(655), turned it to int and even tried text
  18. NSA

    MySQL is being gay.

    Password recovery purposes.
  19. NSA

    MySQL is being gay.

    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key = '6598' WHERE username = 'admin'' at line 1 The query worked before I implemented the key.
  20. NSA

    MySQL is being gay.

    Still getting the same error :/
Top