Refresh Spam!!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Refresh Spam!!

    After posting message in chat room if some one press F5 or refresh the browser , the chat room instantly became flooded with same text!! how can i stop this? someone help please
    PHP Code:
    /* I don't know everything hehe */ 
    Find me on facebook

    #2
    Just call the last chat post and use like if ($msg!=$lastmsg){@mysql.......you can use your code here to show your chat post.;}

    Comment


      #3
      can you give me somthing details ?
      "$lastmsg" how can i select from db?
      PHP Code:
      /* I don't know everything hehe */ 
      Find me on facebook

      Comment


        #4
        what script u using??

        Comment


          #5
          lavalair ........
          PHP Code:
          /* I don't know everything hehe */ 
          Find me on facebook

          Comment


            #6
            1stly you should search here.here lots of lavalair mods. and most of them having no problem regarding this. you can take one from here and can solve your problem by own.
            if you cant then i will sort it out.

            Comment


              #7
              Change your Sql To something like:
              PHP Code:
              CREATE TABLE `ibwf_chat` (
                `
              idint(99NOT NULL auto_increment,
                `
              chatterint(100NOT NULL default '0',
                `
              whoint(100NOT NULL default '0',
                `
              timesentint(50NOT NULL default '0',
                `
              msgtextvarchar(255NOT NULL default '',
                `
              ridint(99NOT NULL default '0',
                `
              exposedchar(1NOT NULL default '0',
                
              PRIMARY KEY  (`id`),
                
              UNIQUE KEY `msgtext` (`msgtext`)
              ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=

              Comment


                #8
                Originally posted by khan89 View Post
                1stly you should search here.here lots of lavalair mods. and most of them having no problem regarding this. you can take one from here and can solve your problem by own.
                if you cant then i will sort it out.
                i don't think this kindof code could be here..i also needed.
                something like a antiflood for messages in chtrooms (in lava forums exist)
                sigpicthe italian/international COMMUNITY of friendship
                http://people2000.netne.net
                WAP/WEB
                peoplemailbox@katamail.com

                Comment

                Working...
                X