Auto Refresh

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

    Auto Refresh

    hi can any1 help with auto refresh on main page plz what code would l use its for a wapdesire script thanks

    #2
    what you need is to learn some xhtml and wml
    the codes are
    Code:
    <meta http-equiv="Refresh" content="n;url">
    for xhtml
    and
    Code:
    <card id="cardname" title="Timer in WML">
        <onevent type="ontimer">
          <go href="url"/>
        </onevent>
        <timer value="50"/>
    for wml

    Comment


      #3
      error syntax....

      Comment


        #4
        lol,you are a fun. Yon need to put backslash before every " when you echo or print this code.

        Comment


          #5
          no fungtional my scripts...to lavalair xhtml, Auto Refresh code chat.php is

          echo "<meta http-equiv=\"refresh\" content=\"20; url=index.php?time=";
          echo "".date("dmHis")."";
          echo " ?????????????????????????????????\">";

          in index.php to auto refresh very god to refresh shout text... :sad:

          Comment


            #6
            echo "<meta http-equiv=\"refresh\" content=\"30; url=index.php?action=main&amp;sid=$sid\">";

            Comment


              #7
              to refresh just one page this i do

              echo "<meta http-equiv=\"refresh\" content=\"5\">";

              no sid etc need page refresh 5 seconds
              Failure is not when a girls leaves you, its only when you let her go virgin. heheh!!

              <span style="color:#9ACD32"><span style="font-size:36pt;line-height:100%">BEST MOBILE ADVERTISER</span></span>

              Comment


                #8
                echo "<meta http-equiv=\"refresh\" content=\"30; url=index.php?action=main&amp;sid=$sid\">";[/b]
                thx ,,,,,

                Comment


                  #9
                  ontimer=\"index.php?action=main&amp;sid=$sid\">";
                  echo "<timer value=\"300\"/>";
                  echo "Auto Refreshes every 30 seconds

                  ";

                  Comment


                    #10
                    no fungtional my scripts...to lavalair xhtml, Auto Refresh code chat.php is

                    echo "<meta http-equiv=\"refresh\" content=\"20; url=index.php?time=";
                    echo "".date("dmHis")."";
                    echo " ?????????????????????????????????\">";

                    in index.php to auto refresh very god to refresh shout text... :sad:[/b]
                    if I wont add the select time to refresh every:

                    10 or
                    20 or
                    30 or
                    60 seconds
                    or OFF

                    how I can ??
                    if like my post click:

                    http://coding-talk.com/images/totall...ost_thanks.gif

                    Comment


                      #11
                      if I wont add the select time to refresh every:

                      10 or
                      20 or
                      30 or
                      60 seconds
                      or OFF

                      how I can ??[/b]
                      Or how can we set random time refresh to script?

                      Comment


                        #12
                        no...at user cp user can select if activate/deactivate autorefresh at chat page...if activate can select a time 4 refresh ;)
                        if like my post click:

                        http://coding-talk.com/images/totall...ost_thanks.gif

                        Comment


                          #13
                          Why Would you want random refresh ? lol

                          $unsure = rand(10,30);
                          echo "<meta http-equiv=\"refresh\" content=\"$unsure; url=index.php?action=main&amp;sid=$sid\">";

                          Comment


                            #14
                            HEHE U KNOW WHY I WANT RANDOM REFRESH

                            Comment


                              #15
                              if I wont add the select time to refresh every:

                              10 or
                              20 or
                              30 or
                              60 seconds
                              or OFF

                              how I can ??[/b]
                              No...I problem last msg shout text i, all user my site viewing in index msg shout , hehe thanks or thx....

                              Comment

                              Working...
                              X