How to stop this

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

    How to stop this

    When ever i post in my forum it display the message two/more times. Pls how to stop this?
    have connected with http://adexchat.com ?
    Fun up with
    http://forum.adexchat.com

    #2
    Just don't post in your forum and it will be alright.. :P

    Comment


      #3
      web or wap forum?

      Originally posted by Jervy View Post
      Just don't post in your forum and it will be alright.. :P
      very helpfull.........

      PHP Code:
      foreach ($_SERVER as $server => $value)
      {
      echo 
      "$server is $value<br />";

      Comment


        #4
        Originally posted by Jervy View Post
        Just don't post in your forum and it will be alright.. :P
        Nice. Lmfao
        Perfection comes at a cost



        I accept liberty!

        Comment


          #5
          Its basically ur network. Add key to ur form, and reset it after a post. Simple.

          Added after 9 minutes:

          PHP Code:
          // form example
          <?php
          $_key 
          $_SESSION['key'] = substr(md5(uniqid(rand(), TRUE)), 012);
          echo 
          '<input type="hidden" name="key" value="'.$_key.'" />'"\n";


          // validation example
          <?php
          if( ! empty($_POST['key']) AND $_POST['key'] === $_SESSION['key']){
          // post message

          // reset key
          $_SESSION['key'] = md5(uniqid(rand(), TRUE));
          }
          Last edited by CreativityKills; 04.03.11, 07:41.

          Comment

          Working...
          X