New page every day ot the month script?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nat
    Confirmed User
    • Sep 2001
    • 553

    #1

    New page every day ot the month script?

    I believe that i saw, for some time ago, a script or .htaccess line that could determine what date it was, and then give the corresponding index.html page..
    For example it's the 24th today, then when somebody try to access my index.html the script will give them page24.html .. and tomorrow it will give the surfers page25.html and so forth..

    If anyone could help me out with finding this, i would be most grateful...
  • volante
    Confirmed User
    • Mar 2002
    • 2940

    #2
    Deleted everything 'cos the code tag didn't work!
    Last edited by volante; 07-24-2002, 06:08 AM.

    Comment

    • X37375787

      #3
      Volante, you fucked the board, edit your post !

      Comment

      • Theo
        HAL 9000
        • May 2001
        • 34515

        #4
        this topic is fucked up! it redicts me whenever i try to fully load it!

        Comment

        • Dopy
          Confirmed User
          • Feb 2001
          • 1572

          #5
          LOL

          Comment

          • Dopy
            Confirmed User
            • Feb 2001
            • 1572

            #6
            Code:
            RewriteEngine on 
            RewriteCond %{TIME_DAY} >1
            RewriteRule ^.*index\.html$ %{TIME_DAY}.html

            Comment

            • volante
              Confirmed User
              • Mar 2002
              • 2940

              #7
              Okay, fixed now!

              Shhh, no-one tell Lens.....

              Comment

              • Dopy
                Confirmed User
                • Feb 2001
                • 1572

                #8
                You will need to make a pages 01.html - 31.html for each day

                Comment

                • Nat
                  Confirmed User
                  • Sep 2001
                  • 553

                  #9
                  Great! Thx a lot!

                  Comment

                  Working...