help abt refresh.

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

    help abt refresh.

    hello friends, i want to know.. how to code a auto refresh.. like.. whenever soembody post shout in lavalair.. it gives a message.. "shout added successfully.. hom link" . but what i want.. i want to remove this note n want user to come on same place after posting the shout.

    #2
    use a meta tag to redirect
    Code:
    <meta http-equiv="refresh" content="5;url=where ever u want to redirect to">
    this will redirect after 5 seconds
    Creator of
    Epix.Mobi

    Keep an Eye on us Big things coming soon!!!!
    Need something for your site hit me up here

    http://coding-talk.com/forum/main-fo...r-your-wapsite

    Comment


      #3
      Originally posted by Loony View Post
      use a meta tag to redirect
      Code:
      <meta http-equiv="refresh" content="5;url=where ever u want to redirect to">
      this will redirect after 5 seconds
      bro, then what if i don want "shout added successfully" page.. whenever users click to post shout. it shot post shout n come back to same page without any delay.

      Comment


        #4
        like, when i reply here. it takes me back directly to the topic as i was in topic when i replied.

        Comment


          #5
          <meta http-equiv="refresh" content="5;url=where ever u want to redirect to">

          see the red 5

          Change that too 0 or 1
          Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
          Visit: WapMasterz Coming Back Soon!
          _______
          SCRIPTS FOR SALE BY SUBZERO
          Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
          FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
          _______
          Info & Tips
          php.net
          w3schools.com

          Comment


            #6
            ok thnx zero mate.. how to apply this?? only copy paste the code to the place i want refrsh?

            Comment


              #7
              in your headers
              Creator of
              Epix.Mobi

              Keep an Eye on us Big things coming soon!!!!
              Need something for your site hit me up here

              http://coding-talk.com/forum/main-fo...r-your-wapsite

              Comment


                #8
                PHP Code:
                else if($action=="shout")
                {
                  
                $shtxt $_POST["shtxt"];
                    
                addonline(getuid_sid($sid),"Roaring","");

                $pstyle gettheme($sid);
                      echo 
                xhtmlhead("Roar",$pstyle);
                    echo 
                "<p align=\"center\">";
                    if(
                getplusses(getuid_sid($sid))<75)
                    {
                        echo 
                "<img src=\"images/notok.gif\" alt=\"X\"/>You should have at least 75 plusses to Roar!";
                    }else{
                      
                $shtxt $shtxt;
                    
                //$uid = getuid_sid($sid);
                    
                $shtm = (time() - $timeadjust) + $timeadjust;
                    
                $res mysql_query("INSERT INTO ibwf_shouts SET shout='".$shtxt."', shouter='".$uid."', shtime='".$shtm."'");
                    if(
                $res)
                    {
                    
                $shts mysql_fetch_array(mysql_query("SELECT shouts from ibwf_users WHERE id='".$uid."'"));
                    
                $shts $shts[0]+1;
                    
                mysql_query("UPDATE ibwf_users SET shouts='".$shts."' WHERE id='".$uid."'");
                    echo 
                "<img src=\"images/ok.gif\" alt=\"O\"/>Roar added successfully";
                    }else{
                        echo 
                "<img src=\"images/notok.gif\" alt=\"X\"/>Database Error";
                    }
                            }
                            echo 
                "<br/><a href=\"121lists121.php?action=shouts&amp;sid=$sid\">Back to Roar Full Version!!</a> ";
                         echo 
                "<br/><br/><a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
                echo 
                "Home</a>";
                    echo 
                "</p>";
                  echo 
                xhtmlfoot();



                where i put in this code?

                Comment


                  #9
                  in your headers like this

                  <doctype html

                  <head>
                  HERE
                  <title>
                  Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
                  Visit: WapMasterz Coming Back Soon!
                  _______
                  SCRIPTS FOR SALE BY SUBZERO
                  Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
                  FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
                  _______
                  Info & Tips
                  php.net
                  w3schools.com

                  Comment


                    #10
                    yes i got it.. working thnx

                    Comment


                      #11
                      how about ctrl + F5?

                      Comment


                        #12
                        Better refresh with Ctrl
                        Did I help you?
                        You can help me too
                        Your donations will help me finance my studies.

                        Comment

                        Working...
                        X